2022-12-09 14:37:13 +09:00
|
|
|
name: PR Needs Rebase
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request_target:
|
|
|
|
types: [synchronize]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
label-rebase-needed:
|
|
|
|
runs-on: ubuntu-latest
|
2023-02-18 12:25:31 +09:00
|
|
|
|
|
|
|
concurrency:
|
2023-02-18 14:56:16 +09:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
2023-02-18 12:25:31 +09:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-12-09 14:37:13 +09: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 }}'
|
|
|
|
commentOnDirty: This pull request has merge conflicts that must be resolved before it can be merged.
|