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

Fix Gemfile and allow dependabot to open one PR at a time

Oliver Günther09d9b6316edf
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 9617d90e459..034f50dcf6f 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -5,6 +5,12 @@ updates:
schedule:
interval: "daily"
target-branch: "dev"
- open-pull-requests-limit: 2
+ open-pull-requests-limit: 1
+ versioning-strategy: lockfile-only
+ - package-ecosystem: "bundler"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ target-branch: "dev"
+ open-pull-requests-limit: 1
versioning-strategy: lockfile-only
-
diff --git a/Gemfile b/Gemfile
index 072a26200d8..50430d52d43 100644
--- a/Gemfile
+++ b/Gemfile
@@ -316,9 +316,11 @@ gem 'openproject-translations',
git: 'https://github.com/opf/openproject-translations.git',
branch: 'dev'
-# Load Gemfile.local, Gemfile.plugins, plugins', and custom Gemfiles
-gemfiles = Dir.glob File.expand_path('{Gemfile.plugins,Gemfile.modules,Gemfile.local,lib/plugins/*/Gemfile}',
- __dir__)
+# Load Gemfile.modules explicitly to allow dependabot to work
+eval_gemfile './Gemfile.modules'
+
+# Load Gemfile.local, Gemfile.plugins and custom Gemfiles
+gemfiles = Dir.glob File.expand_path('{Gemfile.plugins,Gemfile.local}', __dir__)
gemfiles << ENV['CUSTOM_PLUGIN_GEMFILE'] unless ENV['CUSTOM_PLUGIN_GEMFILE'].nil?
gemfiles.each do |file|
# We use send to allow dependabot to function