From ada83b1294be385b41e38844137affc0ea5a131c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 11 Apr 2024 15:59:56 +0200 Subject: [PATCH] chore: add Dependabot configuration file A new `dependabot.yml` file has been added to the `.github` directory. This configuration file enables Dependabot to check for updates in our package ecosystems (i.e., `github-actions` and `gomod`) on a weekly schedule, focusing on security updates for the `gomod` ecosystem specifically. --- .github/dependabot.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000..efa80526377 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,32 @@ +# https://docs.github.com/en/code-security/dependabot +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore(gha)" + + # only open security update PRs (see linked docs for explanation of `open-pull-requests-limit: 0`) + # https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file + # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit + + # security PRs need to be further enabled in the repository settings + # https://docs.github.com/en/code-security/dependabot/dependabot-auto-triage-rules/customizing-auto-triage-rules-to-prioritize-dependabot-alerts + + - package-ecosystem: "gomod" + open-pull-requests-limit: 0 + directory: "/components/notebook-controller" + schedule: + interval: "weekly" + commit-message: + prefix: "fix(deps)" + + - package-ecosystem: "gomod" + open-pull-requests-limit: 0 + directory: "/components/odh-notebook-controller" + schedule: + interval: "weekly" + commit-message: + prefix: "fix(deps)"