ci: cancel superseded rust-ci runs on pull requests (#4555)

This commit is contained in:
John Carmack
2026-09-05 15:02:17 -07:00
committed by GitHub
parent 0b342a1209
commit fed6dc019b

View File

@@ -7,6 +7,10 @@ on:
branches: [ main ] branches: [ main ]
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
defaults: defaults:
run: run:
working-directory: rustutils/ working-directory: rustutils/