mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-24 10:37:32 +08:00
Add concurrency limits on all workflows to eliminate wasted cycles (#2603)
This commit is contained in:
7
.github/workflows/arc-validate-chart.yaml
vendored
7
.github/workflows/arc-validate-chart.yaml
vendored
@@ -27,6 +27,13 @@ env:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
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:
|
||||
validate-chart:
|
||||
name: Lint Chart
|
||||
|
||||
Reference in New Issue
Block a user