From c46794180444c1178f0d253b78d0d8e1fb8e152b Mon Sep 17 00:00:00 2001 From: gavrielc Date: Sun, 15 Feb 2026 17:31:57 +0200 Subject: [PATCH] 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 --- .github/workflows/update-tokens.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-tokens.yml b/.github/workflows/update-tokens.yml index 5f0f4b6..b8dfc06 100644 --- a/.github/workflows/update-tokens.yml +++ b/.github/workflows/update-tokens.yml @@ -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