Skip to content

Commit ed64356

Browse files
author
milos.colic
committed
Add trufflehog for secrets scanning.
1 parent 62126b5 commit ed64356

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/workflows/secrets_scan.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Leaked Secrets Scan
2+
on: [pull_request]
3+
jobs:
4+
TruffleHog:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout code
8+
uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
ref: ${{ github.head_ref }}
12+
- name: TruffleHog OSS
13+
uses: trufflesecurity/trufflehog@v3.4.3
14+
with:
15+
path: ./
16+
base: ${{ github.event.repository.default_branch }}
17+
head: HEAD

0 commit comments

Comments
 (0)