From 8a582d993dd9c5321d58130eea595abd88137f78 Mon Sep 17 00:00:00 2001 From: Andreas Kasprzok Date: Thu, 22 Feb 2024 16:24:37 -0800 Subject: [PATCH] Add dependabot (#339) Updates Elixir, JS, and GHA dependencies weekly. Only opens 3 PRs max per package ecosystem, can be tuned to whatever feels good/right. --- .github/dependabot.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..bbc5d900 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,26 @@ +# Automatically opens PRs for dependency updates. +# Can be turned on and off for org or repository via "Code security and analysis" tab . +# See https://docs.github.com/en/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts +version: 2 +updates: + # Updates Elixir dependencies + - package-ecosystem: mix + directory: server/ + # Checks every Monday morning at 5am Pacific. + schedule: &weekly_schedule + interval: weekly + day: monday + time: 05:00 + timezone: America/Los_Angeles + # Will only open a maximum of 3 PRs + open-pull-requests-limit: 3 + # Updates GHA dependencies + - package-ecosystem: github-actions + directory: / + schedule: *weekly_schedule + open-pull-requests-limit: 3 + # Updates JavaScript dependencies + - package-ecosystem: npm + directory: /ui + schedule: *weekly_schedule + open-pull-requests-limit: 3