Update concurrency group for community label workflow (#47355)

This commit is contained in:
Adrian Moldovan 2024-05-13 17:49:08 +03:00 committed by GitHub
parent b256336176
commit 4ba770cbba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@ on:
types: [opened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# For pull_request_target, cancel concurrent jobs with the same type and branch.
# Don't cancel for other events, by grouping on the unique run_id.
group: community-label-${{ github.event_name }}-${{ github.event.action }}-${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.run_id }}
cancel-in-progress: true
permissions: {}