fix(ci): scope pr-auto-response concurrency by event action
This commit is contained in:
@@ -8,7 +8,9 @@ on:
|
||||
types: [opened, labeled, unlabeled]
|
||||
|
||||
concurrency:
|
||||
group: pr-auto-response-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }}
|
||||
# Keep cancellation within the same lifecycle action to avoid `labeled`
|
||||
# events canceling an in-flight `opened` run for the same issue/PR.
|
||||
group: pr-auto-response-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }}-${{ github.event.action || 'unknown' }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: {}
|
||||
|
||||
Reference in New Issue
Block a user