Skip to content

Commit

Permalink
Merge pull request #152 from Jonsy13/add-gitleaks
Browse files Browse the repository at this point in the history
Adding `gitleaks` as PR Check
  • Loading branch information
Jonsy13 authored May 20, 2024
2 parents f936e2b + ae9167b commit 1a156cf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,19 @@ jobs:
- name: unused-package check
run: |
make unused-package-check
gitleaks-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run GitLeaks
run: |
wget https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz && \
tar -zxvf gitleaks_8.18.2_linux_x64.tar.gz && \
sudo mv gitleaks /usr/local/bin && gitleaks detect --source . -v
trivy:
needs: pre-checks
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1a156cf

Please sign in to comment.