mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 08:32:12 +00:00
Merge pull request #12121 from opensourcerouting/feature/tag_prs_with_conflicts
github: Add `conflicts`/`no_conflicts` labels for PRs
This commit is contained in:
commit
b5864d339b
21
.github/workflows/conflicts.yml
vendored
Normal file
21
.github/workflows/conflicts.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Add a conflict label is PR needs to rebase
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request_target:
|
||||||
|
types: [synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
conflicts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: Check if PRs need a rebase (have some conflicts)
|
||||||
|
uses: eps1lon/actions-label-merge-conflict@releases/2.x
|
||||||
|
with:
|
||||||
|
dirtyLabel: "conflicts"
|
||||||
|
removeOnDirtyLabel: "no_conflicts"
|
||||||
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
|
Loading…
Reference in New Issue
Block a user