Skip to content

Commit 24e322a

Browse files
ci(frontend): Limit concurrency of frontend workflow on PRs (#38889)
1 parent 4e8d406 commit 24e322a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/frontend.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
- master
77
pull_request:
88

9+
# Cancel in progress workflows on pull_requests.
10+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+
cancel-in-progress: true
14+
915
# hack for https://github.com/actions/cache/issues/810#issuecomment-1222550359
1016
env:
1117
SEGMENT_DOWNLOAD_TIMEOUT_MIN: 3

0 commit comments

Comments
 (0)