Skip to content

Commit

Permalink
ci: prevent multiple cr runs
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 17, 2024
1 parent a532fd3 commit d062732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:

permissions: {}

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

jobs:
release:
if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid') }}
Expand Down

0 comments on commit d062732

Please sign in to comment.