Skip to content

Commit f571be9

Browse files
committed
chore(build): guard gitleaks license and pin action SHA
1 parent 49114b2 commit f571be9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/gitleaks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
16-
- uses: gitleaks/gitleaks-action@v2
16+
- uses: gitleaks/gitleaks-action@83d9cd684c87d95d656c1458ef04895a7f1cbd8e
17+
if: ${{ secrets.GITLEAKS_LICENSE != '' }}
1718
env:
1819
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1920
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

0 commit comments

Comments
 (0)