Skip to content

Commit

Permalink
Support merge queue in main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
goodov committed Jul 24, 2024
1 parent 3c8034f commit 2ff4a6a
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 2ff4a6a

Please sign in to comment.