Skip to content

Commit e38ecf7

Browse files
committed
CI: Avoid duplicate tests running for push and pull requests
1 parent 6978b00 commit e38ecf7

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/check-documentation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
workflow_call:
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: check-documentation-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
permissions:
1418
contents: read
1519

.github/workflows/check-linting.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
workflow_call:
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: check-linting-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
permissions:
1418
contents: read
1519

.github/workflows/run-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
workflow_call:
1414
workflow_dispatch:
1515

16+
concurrency:
17+
group: run-tests-${{ github.ref }}
18+
cancel-in-progress: true
19+
1620
permissions:
1721
contents: read
1822

0 commit comments

Comments
 (0)