Skip to content

Commit 4c5530c

Browse files
committed
prevent concurretn runs
1 parent 3e56ff4 commit 4c5530c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci-cd.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: [leader]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
# 1. Fast, parallel validation for linting and unit tests
1115
unit_tests:

.github/workflows/pr-quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
required: true
1111
default: 'leader'
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
env:
1418
FORCE_COLOR: 1
1519
# Browsers are installed INSIDE the workspace so they persist with clean: false

0 commit comments

Comments
 (0)