Remove unused 'Breaking change approval' job#7468
Draft
alfonso-noriega wants to merge 1 commit intofix-breaking-change-check-baselinefrom
Draft
Remove unused 'Breaking change approval' job#7468alfonso-noriega wants to merge 1 commit intofix-breaking-change-check-baselinefrom
alfonso-noriega wants to merge 1 commit intofix-breaking-change-check-baselinefrom
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
tests-pr.ymlhas two jobs for breaking changes:major-change-check("Breaking change detection") — runs the script andexit 1s on any detected breaking change.major-change-approval("Breaking change approval") — gated on thebreaking-change-approvalGitHub Environment, intended to require a@shopify/dev_experiencemember to approve before passing.The second job's environment has no protection rules (
gh api repos/Shopify/cli/environments → "protection_rules": []), so the "approval" job auto-passes in seconds with nobody actually approving anything. On PR #7466 the failure step ran at 09:46:20 and "Breaking change approval" turned green at 09:46:32 — 12s of "review", with zero human input. It's a placebo.Worse, it's actively misleading: the script's failure message says "A member of @shopify/dev_experience must approve the breaking-change-approval environment", which sends people looking for a Settings → Environments → Required reviewers control that doesn't exist for them to use. PR #7469 (next in the stack) adds a real, working override — this PR removes the fake one so the two don't coexist.
WHAT is this pull request doing?
.github/workflows/tests-pr.ymlmajor-change-approvaljob.workspace/src/major-change-check.jsThe
breaking-change-approvalGitHub Environment is left alone in repo settings. Other workflows might reference it, and deleting environments requires a separate API call. It's harmless to leave behind.How to test your changes?
cd workspace node --test src/major-change-check.test.jsAll tests still pass — this PR is workflow + comment-text only, no logic changes.
In CI, the "Breaking change approval" check name will simply stop appearing on new PR runs. The "Breaking change detection" check still runs (and after PR #7469 will be unblockable via a code-owner approval).
Post-release steps
None.
Checklist