Skip to content

Commit

Permalink
Support merge queue in main branch. (#1138)
Browse files Browse the repository at this point in the history
These are required fixes to enable the merge queue in some minimal form.
Tested in staging branch here:
#1136
  • Loading branch information
goodov authored Jul 24, 2024
1 parent 3c8034f commit d493ec3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-test-seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Lint
run: |
npm run lint -- --base origin/${{ github.event.pull_request.base.ref }}
npm run lint -- --base ${{ github.event.pull_request.base.sha }}
- name: Generate seed
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Tracker&Griffin tests

on:
pull_request:
branches: [main, production]
workflow_dispatch:
merge_group:

jobs:
build:
Expand All @@ -26,4 +25,4 @@ jobs:
run: npm run test

- name: lint
run: npm run lint -- --base origin/${{ github.event.pull_request.base.ref }}
run: npm run lint -- --base ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }}
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Test

on:
push:
branches: [main, production]
pull_request:
branches: [main, production]
merge_group:

jobs:
test:
Expand Down

0 comments on commit d493ec3

Please sign in to comment.