Skip to content

Commit 2031b18

Browse files
chore: cancel running PR workflows but latest one (#9)
1 parent b88c994 commit 2031b18

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/lint-pull-request-title.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- edited
88
- synchronize
99

10+
concurrency:
11+
group: lint_pull_request_title-pr-${{ github.event.pull_request.number }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
lint_pull_request_title:
1216
name: Lint pull request title
@@ -20,4 +24,4 @@ jobs:
2024
types: |
2125
chore
2226
feat
23-
fix
27+
fix

.github/workflows/qa.yml

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

33
on: pull_request
44

5+
concurrency:
6+
group: qa-pr-${{ github.event.pull_request.number }}
7+
cancel-in-progress: true
8+
59
jobs:
610
qa:
711
name: QA

0 commit comments

Comments
 (0)