rebase-needed.yml 772 B

123456789101112131415161718192021222324252627
  1. name: PR Needs Rebase
  2. on:
  3. schedule:
  4. - cron: '0 * * * *'
  5. permissions:
  6. pull-requests: write
  7. jobs:
  8. label-rebase-needed:
  9. runs-on: ubuntu-latest
  10. concurrency:
  11. group: ${{ github.workflow }}-${{ github.ref }}
  12. cancel-in-progress: true
  13. steps:
  14. - name: Check for merge conflicts
  15. uses: eps1lon/actions-label-merge-conflict@releases/2.x
  16. with:
  17. dirtyLabel: 'rebase needed :construction:'
  18. repoToken: '${{ secrets.GITHUB_TOKEN }}'
  19. commentOnClean: This pull request has resolved merge conflicts and is ready for review.
  20. commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.
  21. retryMax: 30
  22. continueOnMissingPermissions: false