Skip to content

Commit 3d88369

Browse files
authored
Enable secrets scanning with TruffleHog in CI (#743)
1 parent 4b8ab44 commit 3d88369

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/scan.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: scan
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
scan:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- uses: trufflesecurity/trufflehog@main
15+
with:
16+
path: ./
17+
base: ${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)