]> git.proxmox.com Git - mirror_frr.git/blob - .github/workflows/conflicts.yml
ldpd: changes for code maintainability
[mirror_frr.git] / .github / workflows / conflicts.yml
1 name: Add a conflict label is PR needs to rebase
2
3 on:
4 push:
5 pull_request_target:
6 types: [synchronize]
7
8 jobs:
9 conflicts:
10 if: github.repository == 'frrouting/frr'
11 runs-on: ubuntu-latest
12 permissions:
13 contents: read
14 pull-requests: write
15 steps:
16 - name: Check if PRs need a rebase (have some conflicts)
17 uses: eps1lon/actions-label-merge-conflict@releases/2.x
18 with:
19 dirtyLabel: "conflicts"
20 removeOnDirtyLabel: "no_conflicts"
21 repoToken: "${{ secrets.GITHUB_TOKEN }}"
22 commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."