Skip to content

Commit

Permalink
change gitleaks fetch depth to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlondon authored Nov 14, 2023
1 parent d493088 commit 967664f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gitleaks_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 4 * * *" # run once a day at 4 AM
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 2
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 967664f

Please sign in to comment.