Skip to content

Commit 4757174

Browse files
authored
fix: failing due to stale local branch
1 parent 5bd18b5 commit 4757174

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/add-docs-to-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
run: |
3939
git config user.name "github-actions[bot]"
4040
git config user.email "github-actions[bot]@users.noreply.github.com"
41+
git fetch origin main
42+
git rebase origin/main
4143
git add docs
4244
git commit -m "chore: update docs [skip ci]" || echo "No changes to commit"
4345
git push origin HEAD:main --force-with-lease

0 commit comments

Comments
 (0)