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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixed brakeman CI setup (#12746)
Damian Legawiec9badb4a2084b
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex dc0ca34da9..aed79f195d 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -156,10 +156,12 @@ jobs:- run: bin/brakeman.sh- run:name: Move brakeman reports to artifacts directory- command: mv brakeman-*.html /tmp/test-artifacts/+ command: |+ mkdir -p /tmp/test-artifacts/+ mv brakeman-*.* /tmp/test-artifacts/- store_artifacts:path: /tmp/test-artifacts- destination: test-artifacts+ destination: brakeman-reportsworkflows:main:diff --git a/.gitignore b/.gitignoreindex b9bd6a316f..6671a5f86a 100644--- a/.gitignore+++ b/.gitignore@@ -55,4 +55,4 @@ vendor/bundle*/vendor/bundle.ignoreTODO-brakeman-*.html+brakeman-*.*diff --git a/bin/brakeman.sh b/bin/brakeman.shindex a075c6bb07..792b134162 100755--- a/bin/brakeman.sh+++ b/bin/brakeman.sh@@ -2,8 +2,8 @@set -eux-bundle exec brakeman -p api/ --exit-on-warn --exit-on-error -o brakeman-api.html-bundle exec brakeman -p core/ --exit-on-warn --exit-on-error -o brakeman-core.html-bundle exec brakeman -p storefront/ --exit-on-warn --exit-on-error -o brakeman-storefront.html-bundle exec brakeman -p admin/ --exit-on-warn --exit-on-error -o brakeman-admin.html-bundle exec brakeman -p emails/ --exit-on-warn --exit-on-error -o brakeman-emails.html\ No newline at end of file+bundle exec brakeman -p api/ --exit-on-warn --exit-on-error -o brakeman-api.html -o brakeman-api.json+bundle exec brakeman -p core/ --exit-on-warn --exit-on-error -o brakeman-core.html -o brakeman-core.json+bundle exec brakeman -p storefront/ --exit-on-warn --exit-on-error -o brakeman-storefront.html -o brakeman-storefront.json+bundle exec brakeman -p admin/ --exit-on-warn --exit-on-error -o brakeman-admin.html -o brakeman-admin.json+bundle exec brakeman -p emails/ --exit-on-warn --exit-on-error -o brakeman-emails.html -o brakeman-emails.json\ No newline at end of file