Skip to content

Commit 84aa09c

Browse files
committed
fix: add concurrency settings to release and test workflows
1 parent 78e2f3a commit 84aa09c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
push:
88
tags: ["v*"]
99

10+
concurrency:
11+
group: release-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build_release:
1216
name: NIF ${{ matrix.nif }} - ${{ matrix.job.target }} (${{ matrix.job.os }})

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
env:
1010
HTMD_BUILD: true
1111

12+
concurrency:
13+
group: test-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
test:
1418
name: Test

0 commit comments

Comments
 (0)