From 3164fde071d67443ce4bee3aeba6f7204cdb5fcf Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Fri, 12 Apr 2024 15:33:09 +0100 Subject: [PATCH 1/2] Add dependabot configuration --- .github/dependabot.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..c7e5abfb52 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,21 @@ +--- + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "pip" + directory: "/docs/" + schedule: + interval: "monthly" + ignore: + - update-types: ["version-update:semver-patch"] + dependency-name: "*" From c022214ae2b8841714bd95654bdeae750aa80073 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Fri, 12 Apr 2024 16:03:27 +0100 Subject: [PATCH 2/2] Add comments --- .github/dependabot.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c7e5abfb52..d86d85a459 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,20 +2,22 @@ version: 2 updates: + # GitHub Action update PRs - package-ecosystem: "github-actions" - directory: "/" + directory: "/" # Checks /.github/workflows/ schedule: interval: "weekly" - + # data_safe_haven pip dependency(pyproject.toml) update PRs - package-ecosystem: "pip" directory: "/" schedule: interval: "weekly" - + # documentations pip dependency (pip-compile requirements.in, requirements.txt) update PRs - package-ecosystem: "pip" directory: "/docs/" schedule: interval: "monthly" ignore: + # Don't open PRs for patch version updates for all packages - update-types: ["version-update:semver-patch"] dependency-name: "*"