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
@@ -20,6 +20,10 @@ on:
schedule:
- cron: '19 21 * * 4'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze