1
0

rebase-needed.yml 484 B

1234567891011121314151617
  1. name: PR Needs Rebase
  2. on:
  3. push:
  4. pull_request_target:
  5. types: [synchronize]
  6. jobs:
  7. label-rebase-needed:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Check for merge conflicts
  11. uses: eps1lon/actions-label-merge-conflict@releases/2.x
  12. with:
  13. dirtyLabel: 'rebase needed :construction:'
  14. repoToken: '${{ secrets.GITHUB_TOKEN }}'
  15. commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.