Add concurrency limits on all workflows to eliminate wasted cycles (#2603)

This commit is contained in:
Bassem Dghaidi
2023-05-18 10:55:03 +02:00
committed by GitHub
parent 44e9b7d8eb
commit 34fdbf1231
11 changed files with 63 additions and 1 deletions

View File

@@ -10,6 +10,13 @@ on:
schedule:
- cron: '30 1 * * 0'
concurrency:
# This will make sure we only apply the concurrency limits on pull requests
# but not pushes to master branch by making the concurrency group name unique
# for pushes
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze