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>
This commit is contained in:
Parker Brown
2025-11-21 15:46:17 -08:00
committed by GitHub
parent 40fa6b52b3
commit cc6f999683

View File

@@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:
concurrency:
@@ -16,7 +17,7 @@ permissions:
jobs:
integration:
name: Integration
name: integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -29,10 +30,10 @@ jobs:
- run: npm test
end-to-end:
name: End-to-End
name: end-to-end
runs-on: ubuntu-latest
# 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:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6