From 9c5074608fb489ac6e71f9f14a597bdfb1371d32 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Mon, 4 Jan 2021 19:23:41 +0100 Subject: [PATCH] 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 https://gitlab.com/gitlab-org/gitlab/-/blob/f006fea31097510743c47604f836915b088a6b5c/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e44e20..88d0de6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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