Skip to content

Commit 262d682

Browse files
authored
Add concurrency control to run-tests and run-crt-test workflows (boto#3413)
1 parent b8f4677 commit 262d682

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/run-crt-test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
permissions:
99
contents: read
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master') && github.run_id || github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
build:
1317
runs-on: '${{ matrix.os }}'

.github/workflows/run-tests.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
permissions:
99
contents: read
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master') && github.run_id || github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
build:
1317
runs-on: '${{ matrix.os }}'

0 commit comments

Comments
 (0)