summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-09-25 12:25:46 +0100
committerGitHub <noreply@github.com>2025-09-25 12:25:46 +0100
commitd786c09cee0341c324756632df5ce55cf2606cf8 (patch)
tree2588ebbd9c639802143064bb25ec0af62c348cb6
parentd1cb970352f4bbbd38c69a98df3dfb6c63190587 (diff)
parentb10133f5bdc644420866018e2795e07522578785 (diff)
downloadvyos-1x-d786c09cee0341c324756632df5ce55cf2606cf8.tar.gz
vyos-1x-d786c09cee0341c324756632df5ce55cf2606cf8.zip
Merge pull request #4751 from kumvijaya/current
T7748: Using mergify rule to handle conflict checks for private repo
-rw-r--r--.github/mergify.yml10
-rw-r--r--.github/workflows/check-pr-conflicts.yml3
2 files changed, 12 insertions, 1 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml
new file mode 100644
index 000000000..985cf0981
--- /dev/null
+++ b/.github/mergify.yml
@@ -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
diff --git a/.github/workflows/check-pr-conflicts.yml b/.github/workflows/check-pr-conflicts.yml
index f09e66415..9b0b97423 100644
--- a/.github/workflows/check-pr-conflicts.yml
+++ b/.github/workflows/check-pr-conflicts.yml
@@ -9,6 +9,7 @@ permissions:
contents: read
jobs:
- check-pr-conflict-call:
+ check-pr-conflict:
+ if: github.repository_owner == 'vyos'
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@current
secrets: inherit