ci: Cancel existing actions for PRs when new commits come in

This commit is contained in:
Nathan Adams 2023-01-16 02:57:10 +01:00 committed by Aaron Hill
parent 9cd6849772
commit e6a44e2584
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@ on:
pull_request: pull_request:
branches: [master] branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
changes: changes:
name: Paths filter name: Paths filter

View File

@ -6,6 +6,10 @@ on:
pull_request: pull_request:
branches: [master] branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
changes: changes:
name: Paths filter name: Paths filter