Skip to content

Commit 8a4d209

Browse files
add cancel in progress actions on push
1 parent c2ffdc4 commit 8a4d209

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/unit-tests-srv.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
branches: [ feature/* , main, hotfix/*, release/* ]
77
# pull_request:
88
# branches: [ main, release/* ]
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
914
env:
1015
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
1116
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}

.github/workflows/unit-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: [ main, release/* ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
name: pyTest

0 commit comments

Comments
 (0)