There was an error while loading. Please reload this page.
1 parent 1b461a5 commit 89bed90Copy full SHA for 89bed90
1 file changed
.github/workflows/ci.yml
@@ -32,10 +32,19 @@ jobs:
32
- uses: actions/checkout@v7
33
with:
34
fetch-depth: 0
35
- - run: >-
+ - name: Require a changeset
36
+ if: >-
37
+ github.head_ref != 'changeset-release/main' ||
38
+ github.event.pull_request.user.login != 'github-actions[bot]'
39
+ run: >-
40
node scripts/check-changeset.mjs
41
--base ${{ github.event.pull_request.base.sha }}
42
--head ${{ github.event.pull_request.head.sha }}
43
+ - name: Accept the Changesets release pull request
44
45
+ github.head_ref == 'changeset-release/main' &&
46
+ github.event.pull_request.user.login == 'github-actions[bot]'
47
+ run: echo "Changesets release pull requests consume their changeset files."
48
49
discover-examples:
50
runs-on: ubuntu-latest
0 commit comments