Skip to content

Commit eea3744

Browse files
committed
Run only latest commit on GHA CI
1 parent 0d8d4f1 commit eea3744

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
@@ -9,6 +9,10 @@ on:
99
release:
1010
types: [published]
1111

12+
concurrency:
13+
group: ${{format('release-{0}:{1}', github.repository, github.ref)}}
14+
cancel-in-progress: true
15+
1216
env:
1317
BOOST_VERSION: 1.75.0 # Use a recent one to benefit from bugfixes and performance improvements
1418

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
push:
99
pull_request:
1010

11+
concurrency:
12+
group: ${{format('tests-{0}:{1}', github.repository, github.ref)}}
13+
cancel-in-progress: true
14+
1115
env:
1216
BOOST_VERSION: 1.69.0
1317

0 commit comments

Comments
 (0)