Skip to content

Commit f72590c

Browse files
committed
Added gitleaks
Signed-off-by: Jonsy13 <[email protected]>
1 parent e97bbeb commit f72590c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ jobs:
2525

2626
- name: unused-package check
2727
run: make unused-package-check
28+
29+
gitleaks-scan:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v3
33+
with:
34+
fetch-depth: 0
35+
- name: Run GitLeaks
36+
run: |
37+
wget https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz && \
38+
tar -zxvf gitleaks_8.18.2_linux_x64.tar.gz && \
39+
sudo mv gitleaks /usr/local/bin && gitleaks detect --source . -v
2840
2941
trivy:
3042
needs: pre-checks

0 commit comments

Comments
 (0)