REPOSITORY_GITLEAKS_PR_COMMITS_SCAN missing from the configuration schme #3064
Labels
bug
Something isn't working
O: stale 🤖
This issue or pull request is stale, it will be closed if there is no activity
Describe the bug
Hi,
First of all, thank you for the great work and effort you put in this great tool 🙇 .
In the latest MegaLinter release version (v7.5.0), when one uses the Gitleaks linter related configuration value
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN
, added earlier this year and described in the documentation in the.megalinter.yml
configuration file, it will make the v8r linter produce validation error as the configuration value key is not included in the MegaLinter config schemaThe produced error from the output (MegaLinter executed in GitHub):
I know there is a workaround to put the configuration directly as an environment variable, but I'd prefer storing all configurations in the same place (i.e. the config file).
To Reproduce
Steps to reproduce the behavior:
.mega-linter.yml
) to the repository rootREPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true
and enablev8r
linter for YAML files.v8r
failing stating.mega-linter.yml
has extra parameters:Expected behavior
The source schema file should include the
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN
parameter (if the parameter if still valid; if not then the documentation should be updated).The text was updated successfully, but these errors were encountered: