gitlab-ci: Enable secret detection

This patch should provide automated secret detection, preventing any
secrets from sneaking out unnoticed. This is part of GitLabs AutoDevOps
feature set.

Reference:
https://docs.gitlab.com/ee/user/application_security/secret_detection/index.html
f006fea310/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml
This commit is contained in:
Sheogorath 2021-01-04 19:23:41 +01:00 committed by saibotk
parent 419ba0537c
commit 9c5074608f
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -1,8 +1,12 @@
---
include:
- template: Security/Secret-Detection.gitlab-ci.yml
image: registry.git.saibotk.de/saibotk.de/infrastructure-ci-container:latest
stages:
- lint
- test
ansible-lint:
stage: lint