fix: update workflow concurrency settings to prevent cancellation between push and PR events
This commit is contained in:
2
.github/workflows/waf-integration.yml
vendored
2
.github/workflows/waf-integration.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.workflow_run.event || github.event_name }}-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user