Skip to content

Commit b08b433

Browse files
Update maven-publish.yml
1 parent af66999 commit b08b433

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/maven-publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
# -Dsonar.host.url=https://sonarcloud.io
5050
# -Dsonar.login=${{ secrets.SONAR_TOKEN }}
5151

52+
- name: Install TruffleHog CLI
53+
run: |
54+
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.90.11/trufflehog_3.90.11_linux_amd64.tar.gz -O trufflehog.tar.gz
55+
tar -xvf trufflehog.tar.gz
56+
chmod +x trufflehog
57+
mkdir -p ~/.local/bin
58+
mv trufflehog ~/.local/bin/
59+
60+
- name: Add TruffleHog to PATH
61+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
62+
5263
- name: Run TruffleHog Secret Scan
5364
run: |
5465
echo "Running TruffleHog secret scan..."

0 commit comments

Comments
 (0)