Skip to content

Commit c9fdcdb

Browse files
pofallonclaude
andcommitted
fix: use actor guard instead of commit message parsing in release workflow
Simpler self-trigger prevention: skip when actor is github-actions[bot] (the auto-bump committer) instead of parsing commit messages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1cfc5c5 commit c9fdcdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
release:
1616
runs-on: ubuntu-latest
17-
if: ${{ github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore: auto-bump feature versions') }}
17+
if: github.ref == 'refs/heads/main' && github.actor != 'github-actions[bot]'
1818
steps:
1919
- uses: actions/checkout@v4
2020
with:

0 commit comments

Comments
 (0)