Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oxsecurity/megalinter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.10.0
Choose a base ref
...
head repository: oxsecurity/megalinter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.11.0
Choose a head ref
Loading
Showing 441 changed files with 8,262 additions and 4,590 deletions.
38 changes: 38 additions & 0 deletions .automation/build.py
Original file line number Diff line number Diff line change
@@ -954,12 +954,50 @@ def generate_descriptor_documentation(descriptor):
"| ----------------- | -------------- | -------------- |",
]
descriptor_md += [
f"| {descriptor.get('descriptor_id')}_PRE_COMMANDS | List of bash commands to run before the linters | None |",
f"| {descriptor.get('descriptor_id')}_POST_COMMANDS | List of bash commands to run after the linters | None |",
f"| {descriptor.get('descriptor_id')}_FILTER_REGEX_INCLUDE | Custom regex including filter | |",
f"| {descriptor.get('descriptor_id')}_FILTER_REGEX_EXCLUDE | Custom regex excluding filter | |",
"",
]
add_in_config_schema_file(
[
[
f"{descriptor.get('descriptor_id')}_PRE_COMMANDS",
{
"$id": f"#/properties/{descriptor.get('descriptor_id')}_PRE_COMMANDS",
"type": "array",
"title": f"Pre commands for {descriptor.get('descriptor_id')} descriptor",
"examples": [
[
{
"command": "composer install",
"continue_if_failed": False,
"cwd": "workspace",
}
]
],
"items": {"$ref": "#/definitions/command_info"},
},
],
[
f"{descriptor.get('descriptor_id')}_POST_COMMANDS",
{
"$id": f"#/properties/{descriptor.get('descriptor_id')}_POST_COMMANDS",
"type": "array",
"title": f"Post commands for {descriptor.get('descriptor_id')} descriptor",
"examples": [
[
{
"command": "npm run test",
"continue_if_failed": False,
"cwd": "workspace",
}
]
],
"items": {"$ref": "#/definitions/command_info"},
},
],
[
f"{descriptor.get('descriptor_id')}_FILTER_REGEX_INCLUDE",
{
Loading