Skip to content

Commit 3f261b7

Browse files
committed
ci: add trufflehog secrets scan
1 parent 78773ee commit 3f261b7

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/trufflehog.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Trufflehog Secrets Scan
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
7+
jobs:
8+
trufflehog:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
12+
with:
13+
fetch-depth: 0
14+
- uses: trufflehog/actions/setup@main
15+
- run: trufflehog github --only-verified --no-update
16+
env:
17+
GH_TOKEN: \${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)