From 79f69e99eaebff86c8c22e0e9078d9eefcbe25cb Mon Sep 17 00:00:00 2001 From: Clement Bois <clement.bois@orange.com> Date: Wed, 2 Apr 2025 09:39:48 +0200 Subject: [PATCH] docs: analyse branch or MR commits only # If set, forward console messages to terminal --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 253e8c3..1314e8b 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ This project implements a GitLab CI/CD template to detect and prevent hardcoded secrets in your Git repository with [Gitleaks](https://github.com/zricethezav/gitleaks/wiki). -When run on the master branch, Gitleaks will audit all commits from all branches. +When run on merge requests, Gitleaks will run a quick analysis of added commits (i.e. the diff). -When run on other branches, Gitleaks will run a quick analysis on the current branch. +When run on branches, Gitleaks will run an analysis of all commits in the branch. ## Usage -- GitLab