Skip to content

Commit 8750783

Browse files
Cancel running jobs
1 parent e14a2e4 commit 8750783

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
- '**/README.md'
2020
workflow_dispatch:
2121

22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
25+
2226
env:
2327
CTEST_OUTPUT_ON_FAILURE: ON
2428
CTEST_PARALLEL_LEVEL: 2

.github/workflows/doc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
- 'LICENSE'
1414
workflow_dispatch:
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
build:
1822
name: Documentation

0 commit comments

Comments
 (0)