Skip to content

Commit

Permalink
workflows/sync-shared-config: force push to branch (without lease)
Browse files Browse the repository at this point in the history
When we update a branch, force push with lease fails. While we can do a
`git fetch`, there's no harm to just force push.
  • Loading branch information
ZhongRuoyu committed Jul 15, 2024
1 parent 6f279b6 commit 0ba7322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-shared-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
cd target/${{ matrix.repo }}
git checkout -b sync-shared-config
git push --set-upstream --force-with-lease origin sync-shared-config
git push --set-upstream --force origin sync-shared-config
if gh api \
-X GET \
Expand Down

0 comments on commit 0ba7322

Please sign in to comment.