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
1 changed files with 4 additions and 0 deletions

View File

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