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 <[email protected]>
This commit is contained in:
Parker Brown
2025-11-21 15:46:17 -08:00
committed by GitHub
co-authored by Copilot
parent 40fa6b52b3
commit cc6f999683
+4 -3
View File
@@ -5,6 +5,7 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
merge_group:
workflow_dispatch: workflow_dispatch:
concurrency: concurrency:
@@ -16,7 +17,7 @@ permissions:
jobs: jobs:
integration: integration:
name: Integration name: integration
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -29,10 +30,10 @@ jobs:
- run: npm test - run: npm test
end-to-end: end-to-end:
name: End-to-End name: end-to-end
runs-on: ubuntu-latest runs-on: ubuntu-latest
# do not run from forks, as forks dont have access to repository secrets # do not run from forks, as forks dont have access to repository secrets
if: github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login if: github.event_name == 'merge_group' || github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: actions/setup-node@v6 - uses: actions/setup-node@v6