committed by
GitHub
1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
name: "Conflict detector" |
||||
|
on: |
||||
|
push: |
||||
|
pull_request_target: |
||||
|
types: [synchronize] |
||||
|
|
||||
|
jobs: |
||||
|
main: |
||||
|
permissions: |
||||
|
contents: read |
||||
|
pull-requests: write |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: Check if PRs have merge conflicts |
||||
|
uses: eps1lon/actions-label-merge-conflict@v3 |
||||
|
with: |
||||
|
dirtyLabel: "conflicts" |
||||
|
repoToken: "${{ secrets.GITHUB_TOKEN }}" |
||||
|
commentOnDirty: "This pull request has a merge conflict that needs to be resolved." |
Loading…
Reference in new issue