Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Re-add dependabot

Oliver Günther5cdcd3f8e7c3
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000000..747cbeeca88
--- /dev/null
+++ b/.github/dependabot.yml
@@ -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
+
diff --git a/Gemfile b/Gemfile
index 507df91e8f2..da5807c3eb4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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