From 5d62e21107a1b802a345cab9789bfd7b385e58b5 Mon Sep 17 00:00:00 2001 From: sj-williams Date: Tue, 4 Jun 2024 08:13:33 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20dependabot=20confi?= =?UTF-8?q?g=20and=20projects=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/dependencies-project.yml | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/dependencies-project.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bb39342 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + - package-ecosystem: "terraform" + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/dependencies-project.yml b/.github/workflows/dependencies-project.yml new file mode 100644 index 0000000..b3c421c --- /dev/null +++ b/.github/workflows/dependencies-project.yml @@ -0,0 +1,11 @@ +name: Add dependencies to Cloud Platform project + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' + +jobs: + add-dependabot-to-project: + uses: ministryofjustice/cloud-platform-github-workflows/.github/workflows/dependencies-project.yml@main + secrets: inherit