From 93e45a5133600d8bb5cd7a179173a2e61720faa7 Mon Sep 17 00:00:00 2001 From: Marius Poke Date: Tue, 13 Jun 2023 12:48:09 +0200 Subject: [PATCH] chore: enable mergify (#1009) * add config for mergify * enable security dependecies for v2.0.x --- .github/dependabot.yml | 10 ++++++++++ .mergify.yml | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .mergify.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 029e4e2a7d..42241f2b1d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,5 +15,15 @@ updates: interval: weekly target-branch: "main" open-pull-requests-limit: 10 + labels: + - dependencies + + - package-ecosystem: gomod + directory: "/" + schedule: + interval: daily + target-branch: "release/v2.0.x" + # Only allow automated security-related dependency updates on release branches. + open-pull-requests-limit: 0 labels: - dependencies \ No newline at end of file diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000000..7eae0395e1 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,20 @@ +defaults: + actions: + backport: + assignees: + - "{{ author }}" + +queue_rules: + - name: default + conditions: + - "#approved-reviews-by>1" + +pull_request_rules: + - name: Backport patches to the release/v2.0.x branch + conditions: + - base=main + - label=A:backport/v2.0.x + actions: + backport: + branches: + - release/v2.0.x