Skip to content

Commit 8b4ecea

Browse files
committed
feat(ci): add gitleaks action
0 parents  commit 8b4ecea

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/gitleaks.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: GitLeaks
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
scan:
8+
runs-on: ubuntu-latest
9+
10+
container:
11+
image: zricethezav/gitleaks
12+
volumes:
13+
- ${{ github.workspace }}:/path
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Detect
21+
run: gitleaks detect --source="/path"

0 commit comments

Comments
 (0)