Skip to content

Commit

Permalink
Label PRs with merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Oct 22, 2023
1 parent 9489e54 commit ff3afba
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/label-merge-conflicts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Label conflicting PRs"
on:
push:
pull_request_target:
types: [ synchronize ]
pull_request:
types: [ synchronize ]

permissions:
pull-requests: write

jobs:
main:
if: github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Label conflicting PRs
uses: eps1lon/actions-label-merge-conflict@v2.1.0
with:
dirtyLabel: "unresolved-merge-conflict"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "Please take a moment and address the merge conflicts of your pull request. Thanks!"
continueOnMissingPermissions: true

0 comments on commit ff3afba

Please sign in to comment.