Skip to content

Commit 18f1570

Browse files
committed
chore: cancel overtaken workflow runs
1 parent 2a1a520 commit 18f1570

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Prerelease
22
on: [push, pull_request]
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref_type }}-${{ github.head_ref || github.ref_name }}
6+
cancel-in-progress: true
7+
48
jobs:
59
build:
610
runs-on: ubuntu-latest

.github/workflows/verify.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
workflow_call:
44
workflow_dispatch:
55

6+
concurrency:
7+
group: verify-${{ github.ref_type }}-${{ github.head_ref || github.ref_name }}
8+
cancel-in-progress: true
9+
610
jobs:
711
checks:
812
name: Checks

0 commit comments

Comments
 (0)