Skip to content

fix: exempt release PRs from changeset check#5

Merged
nastassiafulconis merged 3 commits into
mainfrom
fix-changeset-check
Nov 4, 2025
Merged

fix: exempt release PRs from changeset check#5
nastassiafulconis merged 3 commits into
mainfrom
fix-changeset-check

Conversation

@nastassiafulconis
Copy link
Copy Markdown
Collaborator

Summary

Fixes the failing changeset check on release PRs created by the Changesets GitHub Action.

Problem

Release PRs (like #4) were failing the changeset check because:

  • The changesets/action consumes changeset files when creating version PRs
  • The workflow required ALL PRs to have changeset files
  • This created a catch-22 where release PRs always failed

Solution

Updated .github/workflows/changeset.yml to skip the changeset check for:

  • PRs from branches starting with changeset-release/
  • PRs with title "chore: version packages"

This allows release PRs to pass CI while still enforcing changesets for regular feature/fix PRs.

Test plan

  • Merge this PR to main
  • Verify that PR chore: version packages #4 (changeset-release/main) now passes all checks
  • Create a test PR without a changeset to verify the check still works for regular PRs

🤖 Generated with Claude Code

@nastassiafulconis nastassiafulconis requested a review from a team November 4, 2025 17:45
nastassiafulconis and others added 3 commits November 4, 2025 09:49
Release PRs created by changesets/action should not require changesets
since they consume existing changesets to update versions and changelogs.

This fix skips the changeset check for:
- PRs from branches starting with 'changeset-release/'
- PRs with title 'chore: version packages'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Auto-assign scope3data/agentic-eng team to all PRs for review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nastassiafulconis nastassiafulconis merged commit 6a3241b into main Nov 4, 2025
6 checks passed
@nastassiafulconis nastassiafulconis deleted the fix-changeset-check branch November 4, 2025 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants