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