mirror of
https://github.com/strands-agents/harness-sdk.git
synced 2026-10-02 02:44:48 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user