mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #1047 from kumvijaya/current
T7878: Using mergify rule to handle conflict checks for private repo
This commit is contained in:
commit
3f36fe9466
10
.github/mergify.yml
vendored
Normal file
10
.github/mergify.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
pull_request_rules:
|
||||||
|
- name: Label conflicting pull requests
|
||||||
|
description: Add a label to a pull request with conflict to spot it easily
|
||||||
|
conditions:
|
||||||
|
- conflict
|
||||||
|
- '-closed'
|
||||||
|
actions:
|
||||||
|
label:
|
||||||
|
toggle:
|
||||||
|
- conflict
|
||||||
3
.github/workflows/check-pr-conflicts.yml
vendored
3
.github/workflows/check-pr-conflicts.yml
vendored
@ -9,6 +9,7 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-conflict-call:
|
check-pr-conflict:
|
||||||
|
if: github.repository_owner == 'vyos'
|
||||||
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@current
|
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@current
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user