Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4376)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Dec 11, 2024
1 parent 468709d commit f930c14
Show file tree
Hide file tree
Showing 35 changed files with 233 additions and 247 deletions.
41 changes: 22 additions & 19 deletions .automation/generated/linter-helps.json

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

8 changes: 4 additions & 4 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"actionlint": "1.7.4",
"ansible-lint": "24.10.0",
"ansible-lint": "24.12.0",
"arm-ttk": "0.0.0",
"bandit": "1.8.0",
"bash-exec": "5.2.26",
"bicep_linter": "0.31.92",
"bicep_linter": "0.32.4",
"black": "24.10.0",
"cfn-lint": "1.21.0",
"cfn-lint": "1.22.0",
"checkmake": "0.2.0",
"checkov": "3.2.334",
"checkstyle": "10.20.2",
Expand All @@ -21,7 +21,7 @@
"cspell": "8.16.1",
"dartanalyzer": "0.0.0",
"detekt": "1.23.7",
"devskim": "1.0.50",
"devskim": "1.0.51",
"djlint": "1.36.3",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.3.0",
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [terragrunt](https://terragrunt.gruntwork.io) from 0.69.3 to **0.69.9** on 2024-12-09
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.20.2 to **1.21.0** on 2024-12-09
- [syft](https://github.com/anchore/syft) from 1.17.0 to **1.18.0** on 2024-12-09
- [ansible-lint](https://ansible-lint.readthedocs.io/) from 24.10.0 to **24.12.0** on 2024-12-10
- [bicep_linter](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/linter) from 0.31.92 to **0.32.4** on 2024-12-10
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.21.0 to **1.22.0** on 2024-12-10
- [devskim](https://github.com/microsoft/DevSkim) from 1.0.50 to **1.0.51** on 2024-12-10
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ ARG PSSA_VERSION='1.23.0'
ARG SALESFORCE_SFDX_SCANNER_VERSION=4.7.0
# renovate: datasource=npm depName=lightning-flow-scanner
ARG LIGHTNING_FLOW_SCANNER_VERSION=2.36.0
# renovate: datasource=pypi depName=sqlfluff
ARG SQL_SQLFLUFF_VERSION=3.2.5
#ARG__END

####################
Expand Down Expand Up @@ -254,7 +256,7 @@ RUN PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir --upgrade pip virtuale
&& mkdir -p "/venvs/snakemake" && cd "/venvs/snakemake" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir snakemake && deactivate && cd ./../.. \
&& mkdir -p "/venvs/snakefmt" && cd "/venvs/snakefmt" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir snakefmt && deactivate && cd ./../.. \
&& mkdir -p "/venvs/proselint" && cd "/venvs/proselint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir proselint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/sqlfluff" && cd "/venvs/sqlfluff" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir sqlfluff && deactivate && cd ./../.. \
&& mkdir -p "/venvs/sqlfluff" && cd "/venvs/sqlfluff" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir sqlfluff==${SQL_SQLFLUFF_VERSION} && deactivate && cd ./../.. \
&& mkdir -p "/venvs/yamllint" && cd "/venvs/yamllint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir yamllint && deactivate && cd ./../.. \
&& find /venvs \( -type f \( -iname \*.pyc -o -iname \*.pyo \) -o -type d -iname __pycache__ \) -delete \
&& rm -rf /root/.cache
Expand Down Expand Up @@ -802,6 +804,8 @@ RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh |
# lychee installation
# Managed with COPY --link --from=lychee /usr/local/bin/lychee /usr/bin/
#
# sqlfluff installation
#
# tsqllint installation
# Next line commented because already managed by another linter
# RUN apk add --no-cache dotnet8-sdk
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=2759&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=2638&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
Loading

0 comments on commit f930c14

Please sign in to comment.