Skip to content

Commit bcb63d5

Browse files
Merge pull request #7468 from Shopify/remove-fake-approval-gate
Remove unused 'Breaking change approval' job
2 parents 49e3745 + 8fdaa1f commit bcb63d5

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/tests-pr.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -333,16 +333,5 @@ jobs:
333333
- name: Fail if breaking changes detected
334334
if: steps.check.outputs.has_breaking_changes == 'true'
335335
run: |
336-
echo '::error::Breaking changes detected. A member of @shopify/dev_experience must approve the breaking-change-approval environment.'
336+
echo '::error::Breaking changes detected. See the sticky comment on the PR for details.'
337337
exit 1
338-
339-
major-change-approval:
340-
name: 'Breaking change approval'
341-
needs: major-change-check
342-
if: always() && needs.major-change-check.outputs.has_breaking_changes == 'true'
343-
runs-on: ubuntu-latest
344-
timeout-minutes: 5
345-
environment: breaking-change-approval
346-
steps:
347-
- name: Approved
348-
run: echo '✅ Breaking changes approved by dev_experience team member'

workspace/src/major-change-check.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,7 @@ function buildReport({majorChangesets, manifestChanges, schemaChanges}) {
571571
572572
This PR contains changes that may break the existing contract.
573573
574-
**@shopify/dev_experience** — this PR contains breaking changes that require coordination for the next major release. This check will remain failed until a member of the team approves the workflow run.
575-
576-
> 💬 Head to [#help-dev-platform](https://shopify.enterprise.slack.com/archives/C07UJ7UNMTK) to discuss timing and plan the release.
574+
**@shopify/dev_experience** — this PR contains breaking changes that require coordination for the next major release.
577575
578576
`
579577

0 commit comments

Comments
 (0)