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 10022e5 commit 2262d64Copy full SHA for 2262d64
1 file changed
.github/workflows/gitleaks.yml
@@ -9,11 +9,14 @@ on:
9
jobs:
10
gitleaks:
11
runs-on: ubuntu-latest
12
+ env:
13
+ HAS_GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE != '' }}
14
steps:
15
- uses: actions/checkout@v4
16
with:
17
fetch-depth: 0
- - uses: gitleaks/gitleaks-action@v2
18
+ - uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7
19
+ if: ${{ env.HAS_GITLEAKS_LICENSE == 'true' }}
20
env:
21
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
0 commit comments