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.
2 parents 80e3331 + 3aa799c commit e182357Copy full SHA for e182357
.github/workflows/gitleaks.yml
@@ -0,0 +1,29 @@
1
+name: Gitleaks Scan
2
+
3
+on:
4
+ push
5
6
+permissions:
7
+ contents: read
8
+ pull-requests: read
9
10
+jobs:
11
+ gitleaks:
12
+ name: Run Gitleaks
13
+ runs-on: ubuntu-24.04
14
+ steps:
15
+ - name: Checkout PR code
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+ ref: ${{ github.event.pull_request.head.ref }}
20
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
21
+ token: ${{ secrets.GITHUB_TOKEN }}
22
23
+ - name: Run Gitleaks
24
+ uses: gitleaks/gitleaks-action@v2
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GHA_PAT }}
27
+ GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE_PUBLIC }}
28
+ GITLEAKS_ENABLE_UPLOAD_ARTIFACT: "false"
29
+ GITLEAKS_VERSION: 8.26.0
0 commit comments