Skip to content

Commit 5b622ee

Browse files
authored
Preempt PR builds on new push (#36)
* Update release-drafter.yml * Update release-drafter.yml
1 parent 4fa6fb1 commit 5b622ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release-drafter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- reopened
1212
- synchronize
1313
workflow_dispatch: {}
14+
concurrency:
15+
group: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref_type != 'tag' }}
17+
1418

1519
jobs:
1620
update_release_draft:

0 commit comments

Comments
 (0)