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:
1
.github/workflows/update-tokens.yml
vendored
1
.github/workflows/update-tokens.yml
vendored
@@ -37,4 +37,5 @@ jobs:
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git commit -m "docs: update token count to ${{ steps.tokens.outputs.badge }}"
|
||||
git pull --rebase
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user