Skip to content

Commit cc6f999

Browse files
parkerbxyzCopilot
andauthored
ci(test): trigger on merge_group (#308)
This pull request makes minor updates to the GitHub Actions workflow configuration in `.github/workflows/test.yml`, focusing on standardizing job naming and adding support for merge group events. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 40fa6b5 commit cc6f999

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
pull_request:
8+
merge_group:
89
workflow_dispatch:
910

1011
concurrency:
@@ -16,7 +17,7 @@ permissions:
1617

1718
jobs:
1819
integration:
19-
name: Integration
20+
name: integration
2021
runs-on: ubuntu-latest
2122
steps:
2223
- uses: actions/checkout@v6
@@ -29,10 +30,10 @@ jobs:
2930
- run: npm test
3031

3132
end-to-end:
32-
name: End-to-End
33+
name: end-to-end
3334
runs-on: ubuntu-latest
3435
# do not run from forks, as forks don’t have access to repository secrets
35-
if: github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
36+
if: github.event_name == 'merge_group' || github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
3637
steps:
3738
- uses: actions/checkout@v6
3839
- uses: actions/setup-node@v6

0 commit comments

Comments
 (0)