1
0

rebase-needed.yml 811 B

12345678910111213141516171819202122232425262728
  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. if: github.repository == 'mastodon/mastodon'
  11. concurrency:
  12. group: ${{ github.workflow }}-${{ github.ref }}
  13. cancel-in-progress: true
  14. steps:
  15. - name: Check for merge conflicts
  16. uses: eps1lon/actions-label-merge-conflict@v3
  17. with:
  18. dirtyLabel: 'rebase needed :construction:'
  19. repoToken: '${{ secrets.GITHUB_TOKEN }}'
  20. commentOnClean: This pull request has resolved merge conflicts and is ready for review.
  21. commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.
  22. retryMax: 30
  23. continueOnMissingPermissions: false