Skip to content

Commit

Permalink
add gitleaks action
Browse files Browse the repository at this point in the history
  • Loading branch information
unspezifisch committed Aug 5, 2023
1 parent 8a9b986 commit 5a5629d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: gitleaks
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 5 * * *" # run once a day at 5 AM

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

0 comments on commit 5a5629d

Please sign in to comment.