Skip to content

Commit 66a33a4

Browse files
author
AI Assistant
committed
fix: use gitleaks v1 to avoid license requirement
1 parent 1f1129d commit 66a33a4

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/secret-scan.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@ on:
77
branches: [ "main", "master" ]
88

99
jobs:
10-
trufflehog:
11-
name: Trufflehog Secret Scan
10+
gitleaks:
11+
name: Gitleaks Secret Scan
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- name: Run trufflehog
19-
uses: trufflesecurity/trufflehog@v3
20-
with:
21-
path: ./
22-
base: ${{ github.event.repository.default_branch }}
23-
head: HEAD
24-
extra_args: --debug --only-verified
18+
- name: Run gitleaks
19+
uses: gitleaks/gitleaks-action@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)