Run tests in merge queue (#176)

* Add merge_group to PR workflow for checks_requested

* Add pull_request trigger to integration tests

* Simplify integration test workflow triggers

Removed unnecessary pull request triggers and merge group.

* Add merge_group to integration test workflow
This commit is contained in:
Nick Clegg
2025-11-12 21:24:20 +00:00
committed by GitHub
parent 4b90682735
commit d27a0fa755
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -3,7 +3,8 @@ name: Secure Integration test
on:
pull_request_target:
branches: main
merge_group: # Run tests in merge queue
types: [checks_requested]
jobs:
authorization-check:
permissions: read-all
@@ -71,4 +72,4 @@ jobs:
run: npm run build
- name: Run integration tests
run: npm run test:integ
run: npm run test:integ
+2
View File
@@ -4,6 +4,8 @@ on:
pull_request: # Safer than pull_request_target for untrusted code
branches: [ main ]
types: [opened, synchronize, reopened, ready_for_review]
merge_group: # Run tests in merge queue
types: [checks_requested]
push:
branches: [ main ] # Also run on direct pushes to main
concurrency: