Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4551)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <17500430+nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Jan 20, 2025
1 parent b9e43b7 commit 0e2a0aa
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 44 deletions.
6 changes: 3 additions & 3 deletions .automation/generated/linter-helps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"actionlint": "1.7.7",
"ansible-lint": "24.12.2",
"ansible-lint": "25.1.0",
"arm-ttk": "0.0.0",
"bandit": "1.8.2",
"bash-exec": "5.2.37",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [gitleaks](https://github.com/gitleaks/gitleaks) from 8.23.0 to **8.23.1** on 2025-01-18
- [actionlint](https://rhysd.github.io/actionlint/) from 1.7.6 to **1.7.7** on 2025-01-20
- [lightning-flow-scanner](https://github.com/Lightning-Flow-Scanner) from 2.37.0 to **2.38.0** on 2025-01-20
- [ansible-lint](https://ansible-lint.readthedocs.io/) from 24.12.2 to **25.1.0** on 2025-01-20
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)
[![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/main/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter)
<!-- gh-dependents-info-used-by-start -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2847&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2846&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy)
[![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg)](https://github.com/oxsecurity/megalinter/graphs/contributors/)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Linter | Version | License | Popularity | Descriptors | Ref | URL |
|:-------------------------------------------------------------------------------------------------------------------|:-------------:|:----------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------:|
| [**actionlint**](https://github.com/rhysd/actionlint){target=_blank} | 1.7.7 | [MIT](licenses/actionlint.md) | [![GitHub stars](https://img.shields.io/github/stars/rhysd/actionlint?cacheSeconds=3600)](https://github.com/rhysd/actionlint){target=_blank} | [ACTION](descriptors/action_actionlint.md) | :white_circle: | [Repository](https://github.com/rhysd/actionlint){target=_blank} |
| [**ansible-lint**](https://github.com/ansible/ansible-lint){target=_blank} | 24.12.2 | [GPL-3.0](licenses/ansible-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/ansible/ansible-lint?cacheSeconds=3600)](https://github.com/ansible/ansible-lint){target=_blank} | [ANSIBLE](descriptors/ansible_ansible_lint.md) | :white_circle: | [Repository](https://github.com/ansible/ansible-lint){target=_blank} |
| [**ansible-lint**](https://github.com/ansible/ansible-lint){target=_blank} | 25.1.0 | [GPL-3.0](licenses/ansible-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/ansible/ansible-lint?cacheSeconds=3600)](https://github.com/ansible/ansible-lint){target=_blank} | [ANSIBLE](descriptors/ansible_ansible_lint.md) | :white_circle: | [Repository](https://github.com/ansible/ansible-lint){target=_blank} |
| [**arm-ttk**](https://github.com/Azure/arm-ttk){target=_blank} | N/A | [MIT](licenses/arm-ttk.md) | [![GitHub stars](https://img.shields.io/github/stars/Azure/arm-ttk?cacheSeconds=3600)](https://github.com/Azure/arm-ttk){target=_blank} | [ARM](descriptors/arm_arm_ttk.md) | :white_circle: | [Repository](https://github.com/Azure/arm-ttk){target=_blank} |
| [**bandit**](https://github.com/PyCQA/bandit){target=_blank} | 1.8.2 | [Apache-2.0](licenses/bandit.md) | [![GitHub stars](https://img.shields.io/github/stars/PyCQA/bandit?cacheSeconds=3600)](https://github.com/PyCQA/bandit){target=_blank} | [PYTHON](descriptors/python_bandit.md) | :white_circle: | [Repository](https://github.com/PyCQA/bandit){target=_blank} |
| [**bash-exec**](https://www.gnu.org/software/bash/){target=_blank} | 5.2.37 | <!-- --> | <!-- --> | [BASH](descriptors/bash_bash_exec.md) | <!-- --> | [Web Site](https://www.gnu.org/software/bash/){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/ansible_ansible_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use ansible-lint (configure, ignore files, ignore errors, he

## ansible-lint documentation

- Version in MegaLinter: **24.12.2**
- Version in MegaLinter: **25.1.0**
- Visit [Official Web Site](https://ansible-lint.readthedocs.io/){target=_blank}
- See [How to configure ansible-lint rules](https://ansible-lint.readthedocs.io/configuring/#configuration-file){target=_blank}
- If custom `.ansible-lint` config file isn't found, [.ansible-lint](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.ansible-lint){target=_blank} will be used
Expand Down
4 changes: 3 additions & 1 deletion docs/descriptors/csharp_csharpier.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ Options:
RUN apk add --no-cache dotnet9-sdk
ENV PATH="${PATH}:/root/.dotnet/tools"
# Linter install
RUN dotnet tool install --global csharpier
# renovate: datasource=nuget depName=csharpier
ARG CSHARP_CSHARPIER_VERSION=0.30.6
RUN dotnet tool install --global csharpier --version "${CSHARP_CSHARPIER_VERSION}"
```
4 changes: 3 additions & 1 deletion docs/descriptors/csharp_roslynator.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ Run 'roslynator help [command]' for more information on a command.
RUN apk add --no-cache dotnet9-sdk
ENV PATH="${PATH}:/root/.dotnet/tools"
# Linter install
RUN dotnet tool install -g roslynator.dotnet.cli
# renovate: datasource=nuget depName=roslynator.dotnet.cli
ARG CSHARP_ROSLYNATOR_VERSION=0.9.3
RUN dotnet tool install -g roslynator.dotnet.cli --version "${CSHARP_ROSLYNATOR_VERSION}"
```

2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download exceptions,control,framework,artifacts,attack-tracks,controls-inputs
download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
5 changes: 4 additions & 1 deletion docs/descriptors/perl_perlcritic.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ Usage:
- Dockerfile commands :
```dockerfile
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
# renovate: datasource=github-tags depName=skaji/cpm
ARG PERL_PERLCRITIC_VERSION=0.997021

RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/refs/tags/${PERL_PERLCRITIC_VERSION}/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
&& rm -rf /root/.perl-cpm

```
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/repository_checkov.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0e2a0aa

Please sign in to comment.