We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 691cfca + e59ce58 commit 6d12db7Copy full SHA for 6d12db7
1 file changed
.github/workflows/gitleaks.yml
@@ -10,7 +10,16 @@ jobs:
10
with:
11
fetch-depth: 0
12
13
- - uses: gitleaks/gitleaks-action@v2
14
- env:
15
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16
- GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
+ - name: Install gitleaks
+ run: |
+ set -euo pipefail
+ GITLEAKS_VERSION="8.30.1"
17
+ curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
18
+ | tar -xz -C /usr/local/bin gitleaks
19
+ gitleaks version
20
+
21
+ - name: Run gitleaks
22
23
+ gitleaks git \
24
+ --log-opts="${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}" \
25
+ --config .gitleaks.toml
0 commit comments