We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49f5f42 commit 1ae55acCopy full SHA for 1ae55ac
1 file changed
.github/workflows/gitleaks.yml
@@ -0,0 +1,22 @@
1
+name: Gitleaks
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
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@ff98106e4c7b2bc287b24eaf42907196329070c7
19
+ if: ${{ env.HAS_GITLEAKS_LICENSE == 'true' }}
20
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
+ GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
0 commit comments