From 0ba73222ffd32c2dfd4831fbfb551c2037f07947 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 14:21:05 -0400 Subject: [PATCH] workflows/sync-shared-config: force push to branch (without lease) 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. --- .github/workflows/sync-shared-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 265b0a44..95235937 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -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 \