Skip to content

Commit

Permalink
Merge pull request #495 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 2b2646e + 9d6dfb2 commit 31aa78b
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 @@ -49,6 +49,18 @@ jobs:
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'

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
image-build:
runs-on: ubuntu-latest
needs: pre-checks
Expand Down

0 comments on commit 31aa78b

Please sign in to comment.