Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/skip-changeset-check-on-version-pr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
---

Internal CI change (no version bump): skip the `changeset-check` job on the
changesets bot's "version packages" PR (`changeset-release/main`). That PR
consumes (deletes) changesets rather than adding them, so the check counted 0
added/modified changeset files and always failed.
Comment on lines +4 to +7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The actual CI workflow file changes (such as adding the github.head_ref != 'changeset-release/main' guard) are missing from this pull request. Currently, the only modified file is this changeset markdown file. Please commit and push the workflow changes to this branch to complete the implementation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a misread — the workflow change is included. The PR touches 2 files: .github/workflows/ci.yml (adds the changeset-check guard) and this changeset. You can see it in the diff, and the changeset-check job is already passing green on this PR. No action needed.

🤖 Generated by /pr-fixup command

5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:
run: npm test

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

steps:
Expand Down
Loading