Skip to content

Commit

Permalink
Merge pull request #219 from Jonsy13/add-gitleaks
Browse files Browse the repository at this point in the history
Added `gitleaks` as PR Check
  • Loading branch information
Jonsy13 committed May 20, 2024
2 parents 13f8c59 + 3c7fe95 commit a53618d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ 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
Expand Down

0 comments on commit a53618d

Please sign in to comment.