github/workflows: add concurrency groups

This will cancel any ongoing workflows when we update a pull request.
This commit is contained in:
David Lechner
2022-12-19 15:17:31 -06:00
committed by David Lechner
parent 5d3c74b777
commit 45082163f0
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@ on:
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test: