Skip to content

Commit 51de666

Browse files
mkruskal-googlecopybara-github
authored andcommitted
Cancel in-progress scheduled GHA runs.
These were already being grouped because we group by branch name for scheduled workflow runs. By not canceling in-progress runs, a single stalled execution could block our CI indefinitely. PiperOrigin-RevId: 692298661
1 parent 6f8662c commit 51de666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ permissions:
4848

4949
concurrency:
5050
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.head_ref || github.ref }}
51-
cancel-in-progress: ${{ contains(fromJSON('["pull_request", "pull_request_target", "workflow_dispatch"]'), github.event_name) }}
51+
cancel-in-progress: ${{ contains(fromJSON('["pull_request", "pull_request_target", "workflow_dispatch", "schedule"]'), github.event_name) }}
5252

5353
jobs:
5454
set-vars:

0 commit comments

Comments
 (0)