Merge pull request #1041 from Gauvino/issue-template #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge Conflict Labeler | |
on: | |
push: | |
branches: | |
- master | |
pull_request_target: | |
branches: | |
- master | |
types: [synchronize] | |
jobs: | |
label: | |
name: Labeling | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'openbullet/OpenBullet2' }} | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Apply label | |
uses: eps1lon/actions-label-merge-conflict@v3 | |
with: | |
dirtyLabel: 'merge-conflict' | |
commentOnDirty: 'This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.' | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' |