Skip to content

Commit 9589873

Browse files
committed
Cancel tests on commit push/force push
1 parent fe885c2 commit 9589873

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/docker-tests-8.0.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref }}
11+
cancel-in-progress: true
12+
913
env:
1014
GO_VERSION: 1.25.0
1115
DOCKER_API_VERSION: 1.43

.github/workflows/docker-tests-8.4.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref }}
11+
cancel-in-progress: true
12+
913
env:
1014
GO_VERSION: 1.25.0
1115
DOCKER_API_VERSION: 1.43

.github/workflows/docker-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref }}
11+
cancel-in-progress: true
12+
913
env:
1014
GO_VERSION: 1.25.0
1115
DOCKER_API_VERSION: 1.43

0 commit comments

Comments
 (0)