Skip to content

Commit 1f8c6f5

Browse files
committed
fix: checkout before commit
1 parent 3058614 commit 1f8c6f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
git config user.name "github-actions[bot]"
2929
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
30+
git checkout main
3031
git add './CHANGELOG.md'
3132
git commit -m "chore(docs): update CHANGELOG for latest tag"
32-
git push origin HEAD:main
33+
git push origin main

0 commit comments

Comments
 (0)