Skip to content

Commit

Permalink
💚 Add gitleaks check to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGilg committed Feb 15, 2024
1 parent b8fb86a commit 23d14ff
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,15 @@ jobs:
- run: cd frontend && lhci autorun --collect.psiStrategy=desktop --upload.target=temporary-public-storage
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LIGHTHOUSE_CI }}

scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

0 comments on commit 23d14ff

Please sign in to comment.