We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83cb43d commit 0472df9Copy full SHA for 0472df9
1 file changed
.github/workflows/gitleaks.yml
@@ -0,0 +1,28 @@
1
+name: Gitleaks Secret Scan
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ gitleaks:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+ with:
16
+ fetch-depth: 0
17
18
+ - name: Scan git commit history
19
+ uses: gitleaks/gitleaks-action@v2
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
23
+ - name: Scan codebase (working tree)
24
25
26
27
+ GITLEAKS_SCAN_MODE: detect
28
+ GITLEAKS_ENABLE_UPLOAD_ARTIFACT: "false"
0 commit comments