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