fix: add git pull --rebase before push in token count workflow (#253)
Prevents push failures when remote has newer commits since checkout. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
e4d77cdba0
commit
c467941804
@@ -37,4 +37,5 @@ jobs:
|
|||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git commit -m "docs: update token count to ${{ steps.tokens.outputs.badge }}"
|
git commit -m "docs: update token count to ${{ steps.tokens.outputs.badge }}"
|
||||||
|
git pull --rebase
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user