From a5f45199fc7812ed1ce681231dd68d10c4b93bd6 Mon Sep 17 00:00:00 2001 From: Baptiste Grenier Date: Sun, 13 Oct 2024 12:01:59 +0200 Subject: [PATCH] Document gitleaks configuration --- .github/workflows/mega-linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 95ec06dda1..45387d820e 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -59,6 +59,7 @@ jobs: # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY DISABLE: COPYPASTE DISABLE_LINTERS: REPOSITORY_GRYPE,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL + # Scan only changes in PR, otherwise scan everything REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: ${{ github.event_name == 'pull_request' }} # Upload MegaLinter artifacts