Skip to content

Commit

Permalink
⚡ update gitleaks action
Browse files Browse the repository at this point in the history
  • Loading branch information
anngdinh committed May 20, 2024
1 parent b7de0c5 commit 6ac5202
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/check-gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ name: gitleaks
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 4 * * *" # run once a day at 4 AM
branches:
- '**'
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
- uses: gitleaks/gitleaks-action@v2.3.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.

0 comments on commit 6ac5202

Please sign in to comment.