Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed brakeman CI config

Damian Legawieca78dc3bcf55c
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index bc1d2434dc..e30e930918 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -382,13 +382,17 @@ jobs:
bundle install
- name: Run Brakeman
- working-directory: backend
- run: bin/brakeman
+ working-directory: backend/engines
+ run: |
+ for project in core api admin; do
+ echo "--- Running Brakeman on $project ---"
+ bundle exec brakeman --ensure-latest -p $project
+ done
- name: Upload Brakeman reports
if: always()
uses: actions/upload-artifact@v4
with:
name: brakeman-reports
- path: backend/brakeman-*.*
+ path: backend/engines/brakeman-*.*
if-no-files-found: ignore