From 3c8c32fbcb3ef453df58fc299db97586e98f74ad Mon Sep 17 00:00:00 2001 From: rugk Date: Thu, 9 Jun 2022 23:42:03 +0200 Subject: [PATCH] Add/enable Dependabot to keep dependencies up-to-date Enabled update checking via Dependabot for * GitHub Actions for updates or in case you are going to use that (just my default) * PHP aka Composer We successfully use it [for our Docker container](https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/.github/dependabot.yml) and IMHO that has worked quite well, so IMHO, we can also use it here now. --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..5e037789 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + # src: https://github.com/marketplace/actions/build-and-push-docker-images#keep-up-to-date-with-github-dependabot + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + # Also keep PHP (Composer) dependencies up-to-date + # see: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "daily"