🔧 cancel previous CI runs if a new push is made (#1251)

Cancel previous CI runs if a new push is made. Thus saving a bit of CI
resources.
This commit is contained in:
Matiss Janis Aboltins
2023-07-01 21:26:02 +01:00
committed by GitHub
parent de41301a44
commit 168b38fc4b
8 changed files with 34 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ on:
schedule:
- cron: '23 11 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze