Skip to content

Commit 00628b1

Browse files
bsmthcaugnerargl
authored
feat(ci): cancel concurrent jobs when checking for merge conflicts (mdn#37954)
* feat(ci): cancel concurrent jobs when checking for merge conflicts * Update .github/workflows/pr-rebase-needed.yml Co-authored-by: Claas Augner <[email protected]> --------- Co-authored-by: Claas Augner <[email protected]> Co-authored-by: Andi Pieper <[email protected]>
1 parent f7d13fb commit 00628b1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pr-rebase-needed.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "PR Needs Rebase"
1+
name: "PR conflicts"
22

33
on:
44
push:
@@ -9,8 +9,12 @@ permissions:
99
# Label pull requests.
1010
pull-requests: write
1111

12+
concurrency:
13+
group: pr-rebase-needed-${{ github.event.pull_request.number }}
14+
cancel-in-progress: true
15+
1216
jobs:
13-
label-rebase-needed:
17+
labeler:
1418
uses: mdn/workflows/.github/workflows/pr-rebase-needed.yml@main
1519
with:
1620
target-repo: "mdn/content"

0 commit comments

Comments
 (0)