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

Try avoiding ruby segfault with brakeman

Christophe Bliardda6a191d632b
diff --git a/.github/workflows/brakeman-scan-core.yml b/.github/workflows/brakeman-scan-core.yml
index e92a433c6dd..effe3d56d32 100644
--- a/.github/workflows/brakeman-scan-core.yml
+++ b/.github/workflows/brakeman-scan-core.yml
@@ -27,6 +27,11 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
+ with:
+ # FIXME: remove the ruby version once '3.2.2' is released.
+ # This is set to head to fix ruby segfaulting when brakeman is
+ # used. See https://bugs.ruby-lang.org/issues/19433
+ ruby-version: 'head'
- name: Setup Brakeman
run: |