mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-25 09:54:23 +01:00
fix(pr-label): mitigate excessive concurrent runs
This commit is contained in:
3
.github/workflows/pr-label.yml
vendored
3
.github/workflows/pr-label.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
# In `pull_request` we wouldn't be able to change labels of fork PRs
|
||||
pull_request_target:
|
||||
types: [opened, synchronize]
|
||||
concurrency:
|
||||
group: ${{ github.event_name == 'pull_request_target' && format('pr-label-{0}', github.event.pull_request.number) || '' }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request_target' || '' }}
|
||||
|
||||
jobs:
|
||||
conflicts:
|
||||
|
||||
Reference in New Issue
Block a user