about summary refs log tree commit diff
path: root/.github/workflows/rebase-needed.yml
blob: 6f903ee61047ab244c659e277f0adfe1bfbf6aff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: PR Needs Rebase

on:
  push:
  pull_request_target:
    types: [synchronize]

jobs:
  label-rebase-needed:
    runs-on: ubuntu-latest
    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.