fix: prevent badge workflow from triggering itself

Skip badge update when commit message contains [skip ci], preventing
the workflow's own commits from re-triggering the workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shankar0123
2026-03-30 15:28:45 -04:00
parent ec209c9736
commit c5be6d059f
+1
View File
@@ -10,6 +10,7 @@ jobs:
update-badge:
name: Update Claude Code Badge
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
permissions:
contents: write
steps: