PR Needs Rebase #4311
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Needs Rebase | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
permissions: | |
pull-requests: write | |
jobs: | |
label-rebase-needed: | |
runs-on: ubuntu-latest | |
if: github.repository == 'glitch-soc/mastodon' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Check for merge conflicts | |
uses: eps1lon/actions-label-merge-conflict@v3 | |
with: | |
dirtyLabel: 'rebase needed :construction:' | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
commentOnClean: This pull request has resolved merge conflicts and is ready for review. | |
commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged. | |
retryMax: 30 | |
continueOnMissingPermissions: false |