fix(ci): gitleaks license (#3177)

* fix(ci): gitleaks license

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: gitleaks config path

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2022-06-22 00:08:51 -03:00
committed by GitHub
parent 3566ba619d
commit c51b0f9847
2 changed files with 4 additions and 9 deletions
-6
View File
@@ -1,6 +0,0 @@
[[rules]]
id = "ignore-testdata"
[rules.allowlist]
paths = [
'''.*/testdata/*''',
]
+4 -3
View File
@@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: zricethezav/gitleaks-action@master
with:
config-path: .github/gitleaks.toml
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}