Skip to content

Commit

Permalink
chore(ci): gitleaks ignore testdata
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed May 18, 2022
1 parent 0836149 commit 857602a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/gitleaks.toml
@@ -0,0 +1,6 @@
[[rules]]
id = "ignore-testdata"
[rules.allowlist]
paths = [
'''.*/testdata/*''',
]
2 changes: 2 additions & 0 deletions .github/workflows/gitleaks.yml
Expand Up @@ -11,3 +11,5 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: zricethezav/gitleaks-action@master
with:
config-path: .github/gitleaks.toml

0 comments on commit 857602a

Please sign in to comment.