Skip to content

Commit 387a9c2

Browse files
committed
ci: add concurrency control to the rest of workflows
1 parent 01dd9f6 commit 387a9c2

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/check-backend.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Check backend
22

33
on: [workflow_call]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref_name != 'main' }}
8+
59
permissions: read-all
610

711
jobs:

.github/workflows/check-frontend.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Check frontend & libs
22

33
on: [workflow_call]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref_name != 'main' }}
8+
59
permissions: read-all
610

711
jobs:

.github/workflows/e2e-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: E2E tests
22

33
on: [workflow_call]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref_name != 'main' }}
8+
59
permissions: read-all
610

711
jobs:

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
release:
1212
types: [published]
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref_name != 'main' }}
17+
1418
permissions: read-all
1519

1620
jobs:

0 commit comments

Comments
 (0)