Skip to content

Commit c11abf4

Browse files
committed
GH Actions: add workflow to label PRs which are in a conflict state
Came across this action and sounded like an interesting and helpful one. Let's give it a try. Ref: https://github.com/mschilde/auto-label-merge-conflicts
1 parent e9d5c0e commit c11abf4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check PRs for merge conflicts
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
check-prs:
10+
runs-on: ubuntu-latest
11+
if: github.repository_owner == 'PHPCSStandards'
12+
13+
name: Check PRs for merge conflicts
14+
15+
steps:
16+
- uses: mschilde/auto-label-merge-conflicts@master
17+
with:
18+
CONFLICT_LABEL_NAME: "Status: has merge conflict"
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)