Commit 452523f
fix(ci): skip changeset-check on the version-packages PR
The changesets bot's "chore: version packages" PR (branch
changeset-release/main) consumes changesets — it deletes the .md files
and bumps versions, adding none. The changeset-check job counts only
added/modified .changeset/*.md files (--diff-filter=AM), so it always
reported 0 and failed on that PR (e.g. #22), even though the PR is
correct by construction.
Guard the job so it runs for normal PRs but skips the bot's version PR:
`github.head_ref != 'changeset-release/main'`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4fcf85d commit 452523f
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments