Skip to content

Commit

Permalink
add workflow for scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
lvrach committed Aug 30, 2024
1 parent 108a46a commit eb516fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/secret-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: secret-scan
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 13 * * *" # run once a day at 13:00 UTC
jobs:
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}} # Only required for Organizations, not personal accounts.

0 comments on commit eb516fd

Please sign in to comment.