Skip to content

Commit

Permalink
Add gitleaks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
perrornet committed Nov 3, 2023
1 parent 17e7c4e commit da57056
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ on:
branches: ["develop"]

jobs:
gitleaks:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: init gitleaks
run: |
wget ${{ vars.GITLEAKS_URL }}
tar -zxvf ${{ vars.GITLEAKS_FILENAME }} -C /tmp/
sudo mv /tmp/gitleaks /usr/local/bin/
- name: gitleaks
run: |
gitleaks detect -v --redact --no-git
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
Expand Down

0 comments on commit da57056

Please sign in to comment.