fix(ci): trufflehog без docker + лишняя )} в TerrainGenPanel
Some checks failed
CI / Lint + Format (pull_request) Failing after 1m24s
CI / Build (pull_request) Successful in 1m55s
CI / Secret scan (pull_request) Successful in 2m31s
CI / PR size check (pull_request) Successful in 6s

This commit is contained in:
МИН 2026-05-28 14:18:40 +03:00
parent ec478178af
commit d68920b4ce
2 changed files with 7 additions and 6 deletions

View File

@ -50,14 +50,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install trufflehog
run: |
curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh \
| sh -s -- -b /usr/local/bin
- name: Run trufflehog
run: |
docker run --rm -v "$(pwd):/repo" \
trufflesecurity/trufflehog:latest \
git file:///repo \
trufflehog git "file://$(pwd)" \
--only-verified --fail \
--exclude-paths /repo/.trufflehog-ignore 2>&1 | tee scan.log
if grep -q "Reason:" scan.log; then
--exclude-paths .trufflehog-ignore 2>&1 | tee scan.log || EXIT=$?
if [ -n "$EXIT" ] && [ "$EXIT" -ne 0 ]; then
echo "::error::Найдены секреты в коммитах! См. лог выше."
exit 1
fi

View File

@ -938,7 +938,6 @@ export default function TerrainGenPanel({ onApply, onApplyRoblox, onClearRoblox,
</div>
</Section>
</>)}
)}
</div>{/* /scrollArea */}