Skip to content

Commit d813bb6

Browse files
alerizzoclaude
andauthored
fix(ci): skip changeset-check on the version-packages PR (#23)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4fcf85d commit d813bb6

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
---
3+
4+
Internal CI change (no version bump): skip the `changeset-check` job on the
5+
changesets bot's "version packages" PR (`changeset-release/main`). That PR
6+
consumes (deletes) changesets rather than adding them, so the check counted 0
7+
added/modified changeset files and always failed.

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ jobs:
3939
run: npm test
4040

4141
changeset-check:
42-
if: github.event_name == 'pull_request'
42+
# Skip the changesets bot's "version packages" PR: it consumes (deletes)
43+
# changesets rather than adding them, so it would always fail this check.
44+
# The bot branches as changeset-release/<baseBranch>, so match the prefix.
45+
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'changeset-release/')
4346
runs-on: ubuntu-latest
4447

4548
steps:

0 commit comments

Comments
 (0)