Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(pr-label): concurrency group cannot be empty

Reinier van der Leer3b37c89d881e
diff --git a/.github/workflows/pr-label.yml b/.github/workflows/pr-label.yml
index a91141315a..92c5a66b72 100644
--- a/.github/workflows/pr-label.yml
+++ b/.github/workflows/pr-label.yml
@@ -8,8 +8,8 @@ on:
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' || '' }}
+ group: ${{ format('pr-label-{0}', github.event.pull_request.number || github.sha) }}
+ cancel-in-progress: true
jobs:
conflicts: