homeserver/.woodpecker/gitleaks.yml

31 lines
619 B
YAML
Raw Normal View History

---
steps:
gitleaks:
image: zricethezav/gitleaks:latest
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
2024-01-24 20:25:37 +01:00
notify:
name: notify
image: drillster/drone-email
settings:
2024-01-24 20:30:15 +01:00
host: mail-relay
from: ci@mgrote.net
2024-01-24 20:30:37 +01:00
subject: "CI: Run failed! - $CI_REPO"
2024-01-24 20:30:15 +01:00
body: |
$CI_REPO
$CI_REPO_DEFAULT_BRANCH
$CI_COMMIT_SHA
$CI_PIPELINE_NUMBER
$CI_PIPELINE_URL
$CI_WORKFLOW_NAME
$CI_STEP_NAME
$CI_STEP_STATUS
2024-01-24 20:25:37 +01:00
when:
status:
- failure