Skip to content

Commit fc98ceb

Browse files
committed
fix sync workflow force lease
1 parent be7c5af commit fc98ceb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/sync-models.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
8585
git config user.name "github-actions[bot]"
8686
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
87+
git fetch --no-tags --depth=1 origin "+refs/heads/$BRANCH:refs/remotes/origin/$BRANCH" || true
8788
git checkout -B "$BRANCH"
8889
git add providers
8990
git commit -m "$TITLE"

0 commit comments

Comments
 (0)