We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a304c3 commit aed1209Copy full SHA for aed1209
1 file changed
.github/workflows/maintenance-update-tool-versions.yml
@@ -71,6 +71,10 @@ jobs:
71
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
72
gh auth setup-git
73
74
+ # Fetch the remote branch (if it exists) so --force-with-lease
75
+ # has a valid baseline on this fresh checkout.
76
+ git fetch origin "refs/heads/${BRANCH}:refs/remotes/origin/${BRANCH}" 2>/dev/null || true
77
+
78
git checkout -B "${BRANCH}"
79
git add -A
80
git commit -m "${TITLE}"
0 commit comments