Skip to content

Commit 99aed47

Browse files
committed
#57 limit actions concurrency per branch
1 parent 84f6719 commit 99aed47

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build-and-test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
branches:
77
- '**'
88

9+
# Limit concurrent deployments to one per branch
10+
concurrency:
11+
group: build-and-test-${{ github.ref }}
12+
cancel-in-progress: true
13+
914
jobs:
1015

1116
build-and-test:

.github/workflows/update-pychaste-tutorials.yml

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
- develop
1010
workflow_dispatch:
1111

12+
# Limit concurrent deployments to one per branch
13+
concurrency:
14+
group: build-and-test-${{ github.ref }}
15+
cancel-in-progress: true
16+
1217
jobs:
1318

1419
generate-pychaste-tutorials-markdown:

0 commit comments

Comments
 (0)