Skip to content

Commit 06175b3

Browse files
authored
[TASK] Set concurrency limits for the GH Action workflows (#1633)
https://docs.zizmor.sh/audits/#concurrency-limits Part of #1628
1 parent be44425 commit 06175b3

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ name: CI
1313
permissions:
1414
contents: read
1515

16+
concurrency:
17+
group: ci-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
19+
1620
jobs:
1721
php-lint:
1822
name: PHP Lint

.github/workflows/codecoverage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ name: Code coverage
1111
permissions:
1212
contents: read
1313

14+
concurrency:
15+
group: coverage-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
17+
1418
jobs:
1519
code-coverage:
1620
name: Code coverage

0 commit comments

Comments
 (0)