Re-add dependabot

This commit is contained in:
Oliver Günther
2021-11-24 16:52:13 +01:00
parent 4ca62f81fa
commit 5cdcd3f8e7
2 changed files with 21 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
target-branch: "dev"
open-pull-requests-limit: 2
versioning-strategy: lockfile-only
- package-ecosystem: "npm"
directory: "/frontend"
schedule:
interval: "daily"
target-branch: "dev"
open-pull-requests-limit: 2
versioning-strategy: lockfile-only
+3 -3
View File
@@ -319,7 +319,7 @@ gemfiles = Dir.glob File.expand_path('{Gemfile.plugins,Gemfile.modules,Gemfile.l
__dir__)
gemfiles << ENV['CUSTOM_PLUGIN_GEMFILE'] unless ENV['CUSTOM_PLUGIN_GEMFILE'].nil?
gemfiles.each do |file|
next unless File.readable?(file)
eval_gemfile(file)
# We use send to allow dependabot to function
# don't use eval_gemfile(file) here as it will break dependabot!
send(:eval_gemfile, file) if File.readable?(file)
end