Skip to content

Commit b04c499

Browse files
hmellorvadiklyutiy
authored andcommitted
Reduce time wasted in GitHub Actions using concurrency (vllm-project#21919)
Signed-off-by: Harry Mellor <[email protected]>
1 parent d1f32b0 commit b04c499

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/lint-and-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Lint and Deploy Charts
22

33
on: pull_request
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
permissions:
610
contents: read
711

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
push:
66
branches: [main]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
11+
812
permissions:
913
contents: read
1014

0 commit comments

Comments
 (0)