Skip to content

Commit ec78e58

Browse files
committed
[CI] Allow homebrew update jobs in progress to be cancelled.
If one of the homebrew VMs was offline, update jobs would form a long queue. By allowing for older jobs to be cancelled, only the last job that gets started should run.
1 parent b87f06a commit ec78e58

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update-brew-macs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ on:
2424
env:
2525
VENV_DIR: ${{ github.workspace }}/ROOT_CI_VENV
2626

27+
concurrency:
28+
group: ${{ github.workflow }}
29+
cancel-in-progress: true
30+
31+
2732
jobs:
2833
update-macos:
2934
if: github.repository_owner == 'root-project'

0 commit comments

Comments
 (0)