pull-request-conflict.yml 724 B

1234567891011121314151617181920212223
  1. name: Merge Conflict Labeler
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request_target:
  7. issue_comment:
  8. permissions: {}
  9. jobs:
  10. label:
  11. name: Labeling
  12. runs-on: ubuntu-latest
  13. if: ${{ github.repository == 'jellyfin/jellyfin' }}
  14. steps:
  15. - name: Apply label
  16. uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 # v3.0.3
  17. if: ${{ github.event_name == 'push' || github.event_name == 'pull_request_target'}}
  18. with:
  19. dirtyLabel: 'merge conflict'
  20. commentOnDirty: 'This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.'
  21. repoToken: ${{ secrets.JF_BOT_TOKEN }}