1 parent 78773ee commit 3f261b7Copy full SHA for 3f261b7
1 file changed
.github/workflows/trufflehog.yml
@@ -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