fix: update workflow concurrency settings to prevent cancellation between push and PR events
This commit is contained in:
2
.github/workflows/security-pr.yml
vendored
2
.github/workflows/security-pr.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
type: string
|
||||
|
||||
concurrency:
|
||||
group: security-pr-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
group: security-pr-${{ 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