labeler-conflict.yml 610 B

123456789101112131415161718192021
  1. name: Check Merge Conflicts
  2. on:
  3. pull_request_target:
  4. types:
  5. - opened
  6. - synchronize
  7. - reopened
  8. - ready_for_review
  9. jobs:
  10. Label:
  11. if: ( github.event.pull_request.draft == false ) && ( github.actor != 'PJBot' )
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Check for Merge Conflicts
  15. uses: eps1lon/actions-label-merge-conflict@v3.0.0
  16. with:
  17. dirtyLabel: "S: Merge Conflict"
  18. repoToken: "${{ secrets.GITHUB_TOKEN }}"
  19. commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."