Skip to content

Auto-pass required checks for changeset release PRs#43

Merged
avigoldman merged 1 commit intomainfrom
auto-pass-checks-changeset-release
Feb 27, 2026
Merged

Auto-pass required checks for changeset release PRs#43
avigoldman merged 1 commit intomainfrom
auto-pass-checks-changeset-release

Conversation

@avigoldman
Copy link
Copy Markdown
Contributor

Problem

Same issue as hydra#2630 — changeset release PRs get stuck because required status checks are never reported. The Changesets action uses GITHUB_TOKEN to push to changeset-release/* branches, and GitHub suppresses pull_request events from GITHUB_TOKEN to prevent infinite loops. So the CI workflow (and its required Test check) never triggers.

Solution

After the Changesets action creates or updates a release PR, set the required Test commit status to success directly via the GitHub API.

The Changesets action uses GITHUB_TOKEN to push to changeset-release/*
branches, which means GitHub suppresses pull_request events and the
required Test check never triggers. This leaves the release PR stuck.

Fix by setting the Test commit status directly from the release workflow
after it creates/updates the release PR.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 27, 2026

⚠️ No Changeset found

Latest commit: d8f2481

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@avigoldman avigoldman merged commit dcaa9b4 into main Feb 27, 2026
1 check passed
@avigoldman avigoldman deleted the auto-pass-checks-changeset-release branch February 27, 2026 04:02
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