mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
Add Sansec eComscan workflow
This commit is contained in:
@@ -30,9 +30,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ECOMSCAN_KEY: ${{ secrets.SANSEC_LICENSE_KEY }}
|
ECOMSCAN_KEY: ${{ secrets.SANSEC_LICENSE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
output=$$(./ecomscan --no-auto-update --skip-database --deep --format=csv .)
|
output=$(./ecomscan --no-auto-update --skip-database --deep --format=csv .)
|
||||||
if [ -n "$$output" ]; then
|
if [ -n "$output" ]; then
|
||||||
echo "Security issues found:"
|
echo "Security issues found:"
|
||||||
echo "$$output"
|
echo "$output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user