2022-12-09 16:37:13 +11:00
|
|
|
name: PR Needs Rebase
|
|
|
|
|
|
|
|
on:
|
2023-07-12 03:40:51 +10:00
|
|
|
schedule:
|
2023-07-12 03:52:37 +10:00
|
|
|
- cron: '0 * * * *'
|
2022-12-09 16:37:13 +11:00
|
|
|
|
2023-02-20 21:02:06 +11:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
2022-12-09 16:37:13 +11:00
|
|
|
jobs:
|
|
|
|
label-rebase-needed:
|
|
|
|
runs-on: ubuntu-latest
|
2023-02-18 14:25:31 +11:00
|
|
|
|
|
|
|
concurrency:
|
2023-02-18 16:56:16 +11:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
2023-02-18 14:25:31 +11:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-12-09 16:37:13 +11:00
|
|
|
steps:
|
|
|
|
- name: Check for merge conflicts
|
|
|
|
uses: eps1lon/actions-label-merge-conflict@releases/2.x
|
|
|
|
with:
|
|
|
|
dirtyLabel: 'rebase needed :construction:'
|
|
|
|
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
2023-02-20 21:02:06 +11:00
|
|
|
commentOnClean: This pull request has resolved merge conflicts and is ready for review.
|
2022-12-09 16:37:13 +11:00
|
|
|
commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.
|
2023-07-18 00:10:43 +10:00
|
|
|
retryMax: 30
|
2023-02-20 21:02:06 +11:00
|
|
|
continueOnMissingPermissions: false
|