Skip to content

Commit

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

* [MegaLinter] Apply linters fixes

* Downgrade ansible-lint

* [MegaLinter] Apply linters fixes

* Merge branch 'improve-tflint-docs' into create-pull-request/patch

---------

Co-authored-by: ruzickap <ruzickap@users.noreply.github.com>
  • Loading branch information
nvuillam and ruzickap authored May 31, 2023
1 parent b137b09 commit a10d136
Show file tree
Hide file tree
Showing 54 changed files with 383 additions and 372 deletions.
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1533,8 +1533,8 @@
2973698
],
[
"2023-05-31T05:42:58",
2977851
"2023-05-31T15:46:45",
2979478
]
],
"ci_light": [
Expand Down Expand Up @@ -3071,8 +3071,8 @@
66872
],
[
"2023-05-31T05:42:58",
67329
"2023-05-31T15:46:45",
67463
]
],
"cupcake": [
Expand Down Expand Up @@ -3589,8 +3589,8 @@
12665
],
[
"2023-05-31T05:42:58",
12915
"2023-05-31T15:46:45",
12960
]
],
"dart": [
Expand Down Expand Up @@ -6037,8 +6037,8 @@
152305
],
[
"2023-05-31T05:42:58",
152985
"2023-05-31T15:46:45",
153277
]
],
"dotnet": [
Expand Down Expand Up @@ -7575,8 +7575,8 @@
389112
],
[
"2023-05-31T05:42:58",
389879
"2023-05-31T15:46:45",
390065
]
],
"go": [
Expand Down Expand Up @@ -9113,8 +9113,8 @@
21381
],
[
"2023-05-31T05:42:58",
21497
"2023-05-31T15:46:45",
21535
]
],
"java": [
Expand Down Expand Up @@ -10651,8 +10651,8 @@
120588
],
[
"2023-05-31T05:42:58",
120819
"2023-05-31T15:46:45",
120918
]
],
"javascript": [
Expand Down Expand Up @@ -12189,8 +12189,8 @@
268976
],
[
"2023-05-31T05:42:58",
270164
"2023-05-31T15:46:45",
270581
]
],
"php": [
Expand Down Expand Up @@ -13727,8 +13727,8 @@
49939
],
[
"2023-05-31T05:42:58",
50017
"2023-05-31T15:46:45",
50054
]
],
"python": [
Expand Down Expand Up @@ -15265,8 +15265,8 @@
211275
],
[
"2023-05-31T05:42:58",
212117
"2023-05-31T15:46:45",
212433
]
],
"ruby": [
Expand Down Expand Up @@ -16799,8 +16799,8 @@
3647
],
[
"2023-05-31T05:42:58",
3654
"2023-05-31T15:46:45",
3656
]
],
"rust": [
Expand Down Expand Up @@ -18333,8 +18333,8 @@
5705
],
[
"2023-05-31T05:42:58",
5726
"2023-05-31T15:46:45",
5734
]
],
"salesforce": [
Expand Down Expand Up @@ -19871,8 +19871,8 @@
20089
],
[
"2023-05-31T05:42:58",
20184
"2023-05-31T15:46:45",
20227
]
],
"scala": [
Expand Down Expand Up @@ -21407,8 +21407,8 @@
11127
],
[
"2023-05-31T05:42:58",
11576
"2023-05-31T15:46:45",
11832
]
],
"swift": [
Expand Down Expand Up @@ -22941,8 +22941,8 @@
3804
],
[
"2023-05-31T05:42:58",
3817
"2023-05-31T15:46:45",
3822
]
],
"terraform": [
Expand Down Expand Up @@ -24479,8 +24479,8 @@
245977
],
[
"2023-05-31T05:42:58",
247393
"2023-05-31T15:46:45",
247935
]
]
}
14 changes: 7 additions & 7 deletions .automation/generated/linter-helps.json

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

4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"black": "23.3.0",
"cfn-lint": "0.77.5",
"checkmake": "0.2.0",
"checkov": "2.3.264",
"checkov": "2.3.267",
"checkstyle": "10.12.0",
"chktex": "1.7.6",
"clippy": "0.1.69",
Expand Down Expand Up @@ -69,7 +69,7 @@
"psalm": "Psalm.5.12.0@",
"puppet-lint": "4.0.0",
"pylint": "2.17.4",
"pyright": "1.1.310",
"pyright": "1.1.311",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "1.3.2",
Expand Down
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@
"runspace",
"rustc",
"rustup",
"ruzickap",
"saas",
"sarif",
"sbatch",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image

- Documentation
- Add note to terraform_tflint about TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES by @ruzickap in <https://github.com/oxsecurity/megalinter/pull/2706>

- Linter versions upgrades
- [djlint](https://djlint.com/) from 1.29.0 to **1.30.0** on 2023-05-31
- [standard](https://standardjs.com/) from 17.0.0 to **17.1.0** on 2023-05-31
- [checkov](https://www.checkov.io/) from 2.3.261 to **2.3.264** on 2023-05-31
- [terragrunt](https://terragrunt.gruntwork.io) from 0.45.16 to **0.45.17** on 2023-05-31
- [pyright](https://github.com/Microsoft/pyright) from 1.1.310 to **1.1.311** on 2023-05-31
- [checkov](https://www.checkov.io/) from 2.3.264 to **2.3.267** on 2023-05-31

<!-- linter-versions-end -->

## [v7.0.3] - 2023-05-29
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \

#PIPVENV__START
RUN PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir --upgrade pip virtualenv \
&& mkdir -p "/venvs/ansible-lint" && cd "/venvs/ansible-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir ansible-lint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/ansible-lint" && cd "/venvs/ansible-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir ansible-lint=='6.16.2' && deactivate && cd ./../.. \
&& mkdir -p "/venvs/cpplint" && cd "/venvs/cpplint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir cpplint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/cfn-lint" && cd "/venvs/cfn-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir cfn-lint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/djlint" && cd "/venvs/djlint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir djlint && deactivate && cd ./../.. \
Expand Down
Loading

0 comments on commit a10d136

Please sign in to comment.