Skip to content

Commit

Permalink
GH Actions: add workflow to label PRs which are in a conflict state
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jrfnl committed Nov 9, 2023
1 parent b9d2dfb commit 282cca6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label-merge-conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check PRs for merge conflicts

on:
push:
branches:
- master

jobs:
check-prs:
runs-on: ubuntu-latest
if: github.repository_owner == 'PHPCSStandards'

name: Check PRs for merge conflicts

steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "Status: has merge conflict"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 282cca6

Please sign in to comment.