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 e4b42cf commit 608289bCopy full SHA for 608289b
1 file changed
.github/workflows/gitleaks.yml
@@ -9,12 +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
18
- uses: gitleaks/gitleaks-action@83d9cd684c87d95d656c1458ef04895a7f1cbd8e
- if: ${{ secrets.GITLEAKS_LICENSE != '' }}
19
+ if: ${{ env.HAS_GITLEAKS_LICENSE == 'true' }}
20
env:
21
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
0 commit comments