Skip to content

Commit 246c1b3

Browse files
committed
fix: add GITLEAKS_LICENSE secret to gitleaks action
The gitleaks action was failing because it couldn't access the GITLEAKS_LICENSE secret that was added at the organization level. This adds the required environment variable mapping to make the license available to the action.
1 parent 1fc280a commit 246c1b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
uses: gitleaks/gitleaks-action@v2
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
4849

4950
- name: Upload Gitleaks results
5051
if: always()

0 commit comments

Comments
 (0)