We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e31d3 commit 4c4f192Copy full SHA for 4c4f192
.github/workflows/secrets-scan.yaml
@@ -0,0 +1,27 @@
1
+name: Secrets Scan
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened]
6
+ branches:
7
+ - master
8
+ push:
9
10
11
12
+jobs:
13
+ secrets-scan:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ - uses: gitleaks/gitleaks-action@v2
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE_KEY }}
24
+ GITLEAKS_NOTIFY_USER_LIST: ${{ vars.GITLEAKS_NOTIFY_USER_LIST }}
25
+ GITLEAKS_ENABLE_COMMENTS: 'true'
26
+ GITLEAKS_ENABLE_UPLOAD_ARTIFACT: 'false'
27
0 commit comments