Cancel previous workflows for PRs and branches (#2800)

This commit is contained in:
Jesse Hills 2021-11-26 10:02:39 +13:00 committed by GitHub
parent 00965fe19e
commit 2347e043a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ on:
permissions: permissions:
contents: read contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
ci: ci:
name: ${{ matrix.name }} name: ${{ matrix.name }}