Skip to content

Commit 5f22f1f

Browse files
Merge pull request #2 from zeroeval/gitleaks
gitleaks
2 parents 33da7f3 + 1928fb8 commit 5f22f1f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/gitleaks.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: gitleaks
2+
on:
3+
pull_request:
4+
push:
5+
workflow_dispatch:
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
jobs:
10+
scan:
11+
name: gitleaks
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- uses: gitleaks/gitleaks-action@v2
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

0 commit comments

Comments
 (0)