Commit 1ea529d
fix: gate publish job on push events only (#8)
The publish job ran on pull_request events because `dry-run` alone
wasn't sufficient — callers that didn't pass `dry-run: true` on PRs
would trigger PR creation from CI. Add `github.event_name == 'push'`
so publish only runs on merges to main regardless of dry-run.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8665e53 commit 1ea529d
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments