Skip to content

Commit

Permalink
Update concurrency group for community label workflow (#47355)
Browse files Browse the repository at this point in the history
  • Loading branch information
adimoldovan committed May 13, 2024
1 parent b256336 commit 4ba770c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/community-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down

0 comments on commit 4ba770c

Please sign in to comment.