2022-12-08 21:37:13 -08:00
|
|
|
name: PR Needs Rebase
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-03-07 22:12:57 -08:00
|
|
|
branches-ignore:
|
|
|
|
- 'dependabot/**'
|
2023-06-06 01:42:23 -07:00
|
|
|
- 'renovate/**'
|
2023-03-08 10:26:25 -08:00
|
|
|
- 'l10n_main'
|
2022-12-08 21:37:13 -08:00
|
|
|
pull_request_target:
|
2023-03-07 22:12:57 -08:00
|
|
|
branches-ignore:
|
|
|
|
- 'dependabot/**'
|
2023-06-06 01:42:23 -07:00
|
|
|
- 'renovate/**'
|
2023-03-08 10:26:25 -08:00
|
|
|
- 'l10n_main'
|
2022-12-08 21:37:13 -08:00
|
|
|
types: [synchronize]
|
|
|
|
|
2023-02-20 02:02:06 -08:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
2022-12-08 21:37:13 -08:00
|
|
|
jobs:
|
|
|
|
label-rebase-needed:
|
|
|
|
runs-on: ubuntu-latest
|
2023-02-17 19:25:31 -08:00
|
|
|
|
|
|
|
concurrency:
|
2023-02-17 21:56:16 -08:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
2023-02-17 19:25:31 -08:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-12-08 21:37:13 -08: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 02:02:06 -08:00
|
|
|
commentOnClean: This pull request has resolved merge conflicts and is ready for review.
|
2022-12-08 21:37:13 -08:00
|
|
|
commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.
|
2023-02-20 02:02:06 -08:00
|
|
|
retryMax: 10
|
|
|
|
continueOnMissingPermissions: false
|