From fe52ef3dbc41c8ead8f684d5fe850718472532ed Mon Sep 17 00:00:00 2001 From: Marco Voelz Date: Mon, 6 Mar 2023 10:46:27 +0100 Subject: [PATCH 1/2] Add dependabot configuration for VPA --- .github/dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000000..b7aad1693301 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: +- package-ecosystem: gomod + directory: "/vertical-pod-autoscaler" + schedule: + interval: daily + open-pull-requests-limit: 0 # setting this to 0 means only allowing security updates, see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit +- package-ecosystem: docker + directory: "/vertical-pod-autoscaler/builder" + schedule: + interval: daily + open-pull-requests-limit: 10 From 63b0cad53b2eaa08f5f18eeb753dff99fb47ec2e Mon Sep 17 00:00:00 2001 From: Marco Voelz Date: Mon, 6 Mar 2023 10:57:24 +0100 Subject: [PATCH 2/2] Automatically apply VPA label to dependabot PRs --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b7aad1693301..3f2cd0834f30 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,8 +5,12 @@ updates: schedule: interval: daily open-pull-requests-limit: 0 # setting this to 0 means only allowing security updates, see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit + labels: + - "vertical-pod-autoscaler" - package-ecosystem: docker directory: "/vertical-pod-autoscaler/builder" schedule: interval: daily open-pull-requests-limit: 10 + labels: + - "vertical-pod-autoscaler"