Skip to content

Commit

Permalink
chore(ci): add gitleaks configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Marthym committed Dec 27, 2023
1 parent 658c18b commit 75038e3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Gitleaks

on: [pull_request]

jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Gitleaks Action
uses: zricethezav/gitleaks-action@master
10 changes: 10 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title = "Gitleaks Baywatch"
[extend]
useDefault = true

[allowlist]
description = "Ignore false positive"
commits = ["5a5bffb6a3fd2b0cb7d40849bd9f8c8d7f97dd5f", "658c18b582636c33ad314147a385bd16bbae2b18"]
paths = [
"sandside/src/test"
]

0 comments on commit 75038e3

Please sign in to comment.