Skip to content

Commit

Permalink
Fix tagbot concurrency group
Browse files Browse the repository at this point in the history
Can't use github.ref when using pull_request_target, since that value
also points to base ref.
  • Loading branch information
Micket committed Nov 6, 2024
1 parent b1d00ee commit 628a7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tagbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tagbot
on: [pull_request_target]

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
group: "${{ github.workflow }}-${{ github.event.pull_request.number }}"
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 628a7eb

Please sign in to comment.