cancel PR builds (#159)

* cancel PR builds

* test

* test again
This commit is contained in:
Jacek Sieka 2022-11-22 13:47:01 +01:00 committed by GitHub
parent aba51f1d29
commit 8e8d99f912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
concurrency: # Cancel stale PR builds (but not push builds)
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs: jobs:
build: build:
strategy: strategy: