fix(ci): trufflehog без docker + лишняя )} в TerrainGenPanel
This commit is contained in:
parent
ec478178af
commit
d68920b4ce
@ -50,14 +50,16 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
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
|
- name: Run trufflehog
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v "$(pwd):/repo" \
|
trufflehog git "file://$(pwd)" \
|
||||||
trufflesecurity/trufflehog:latest \
|
|
||||||
git file:///repo \
|
|
||||||
--only-verified --fail \
|
--only-verified --fail \
|
||||||
--exclude-paths /repo/.trufflehog-ignore 2>&1 | tee scan.log
|
--exclude-paths .trufflehog-ignore 2>&1 | tee scan.log || EXIT=$?
|
||||||
if grep -q "Reason:" scan.log; then
|
if [ -n "$EXIT" ] && [ "$EXIT" -ne 0 ]; then
|
||||||
echo "::error::Найдены секреты в коммитах! См. лог выше."
|
echo "::error::Найдены секреты в коммитах! См. лог выше."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -938,7 +938,6 @@ export default function TerrainGenPanel({ onApply, onApplyRoblox, onClearRoblox,
|
|||||||
</div>
|
</div>
|
||||||
</Section>
|
</Section>
|
||||||
</>)}
|
</>)}
|
||||||
)}
|
|
||||||
|
|
||||||
</div>{/* /scrollArea */}
|
</div>{/* /scrollArea */}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user