ci: cancel superseded pull request runs (#2132)

This commit is contained in:
John Carmack
2026-09-04 14:19:04 -07:00
committed by GitHub
parent 01bd751d5f
commit fce879bfaa
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -6,6 +6,10 @@ on:
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build-node:
+4
View File
@@ -20,6 +20,10 @@ on:
schedule:
- cron: '17 0 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
name: Analyze