feat: initial commit
This commit is contained in:
parent
846bc41aa1
commit
4f744469c0
17 changed files with 324 additions and 0 deletions
18
.gitlab/gitleaks.yaml
Normal file
18
.gitlab/gitleaks.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
|
||||
# gitleaks
|
||||
gitleaks:
|
||||
stage: "gitleaks"
|
||||
image:
|
||||
name: "ghcr.io/gitleaks/gitleaks:latest"
|
||||
variables:
|
||||
GIT_DEPTH: 1
|
||||
rules:
|
||||
|
||||
# run only on push to default branch
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
- when: "never"
|
||||
|
||||
# start linting
|
||||
script:
|
||||
- "gitleaks detect --source . --verbose --redact"
|
||||
Loading…
Add table
Add a link
Reference in a new issue