Skip to content

Commit 20fcb9f

Browse files
committed
📝 Simplify secret detection
1 parent 1195691 commit 20fcb9f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docs/productive/git/best-practices.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,8 @@ template, for example, in a stage called ``secrets-detection`` in your
284284

285285
.. code-block:: yaml
286286
287-
stages:
288-
- secrets-detection
289-
290-
gitleaks:
291-
stage: secrets-detection
292-
include:
293-
- template: Security/Secret-Detection.gitlab-ci.yml
287+
include:
288+
- template: Security/Secret-Detection.gitlab-ci.yml
294289
295290
The template creates secret detection jobs in your CI/CD pipeline and searches
296291
the source code of your project for secrets. The results are saved as a `Secret

0 commit comments

Comments
 (0)