Cancel superseded pull request workflow runs

This commit is contained in:
Anarios
2026-10-23 11:57:12 +02:00
parent 6e69143cd7
commit a35126f315
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -52,6 +52,10 @@ on:
- "playwright*.js"
- "webpack*.js"
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]'
+4
View File
@@ -20,6 +20,10 @@ on:
- .nvmrc
- scripts/check-locales*
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
weblint:
if: github.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]'