Skip to content

Commit 2da21d8

Browse files
committed
platform-ci: Cancel current running CI on new push
This commit adds a concurrency group to the github workflow based on the github ref. with `cancel-in-progres: true`, a push to a branch to github will result in any previous instance of this workflow running for for this being canceled.
1 parent 43e96d2 commit 2da21d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/platform-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
branches:
1717
- main
1818

19+
concurrency:
20+
group: "platform-ci-${{ github.ref }}"
21+
cancel-in-progress: true
22+
1923
jobs:
2024

2125
# A job to produce the environment constants for this repository, so that the build job can

0 commit comments

Comments
 (0)