Skip to content

Commit

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

* trivy
  • Loading branch information
nvuillam authored Feb 20, 2022
1 parent a4a213b commit bbac3d1
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 27 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@
[
"2022-02-18T21:34:22",
2452855
],
[
"2022-02-20T01:47:14",
2453622
]
],
"ci_light": [
Expand Down Expand Up @@ -1161,6 +1165,10 @@
[
"2022-02-18T21:34:22",
7451
],
[
"2022-02-20T01:47:14",
7487
]
],
"dart": [
Expand Down Expand Up @@ -1743,6 +1751,10 @@
[
"2022-02-18T21:34:22",
2287
],
[
"2022-02-20T01:47:14",
2312
]
],
"documentation": [
Expand Down Expand Up @@ -2325,6 +2337,10 @@
[
"2022-02-18T21:34:22",
40938
],
[
"2022-02-20T01:47:14",
41083
]
],
"dotnet": [
Expand Down Expand Up @@ -2907,6 +2923,10 @@
[
"2022-02-18T21:34:22",
283629
],
[
"2022-02-20T01:47:14",
284006
]
],
"go": [
Expand Down Expand Up @@ -3489,6 +3509,10 @@
[
"2022-02-18T21:34:22",
8152
],
[
"2022-02-20T01:47:14",
8166
]
],
"java": [
Expand Down Expand Up @@ -4071,6 +4095,10 @@
[
"2022-02-18T21:34:22",
59458
],
[
"2022-02-20T01:47:14",
59576
]
],
"javascript": [
Expand Down Expand Up @@ -4653,6 +4681,10 @@
[
"2022-02-18T21:34:22",
90582
],
[
"2022-02-20T01:47:14",
90836
]
],
"php": [
Expand Down Expand Up @@ -5235,6 +5267,10 @@
[
"2022-02-18T21:34:22",
4106
],
[
"2022-02-20T01:47:14",
4117
]
],
"python": [
Expand Down Expand Up @@ -5817,6 +5853,10 @@
[
"2022-02-18T21:34:22",
59453
],
[
"2022-02-20T01:47:14",
59779
]
],
"ruby": [
Expand Down Expand Up @@ -6395,6 +6435,10 @@
[
"2022-02-18T21:34:22",
1864
],
[
"2022-02-20T01:47:14",
1889
]
],
"rust": [
Expand Down Expand Up @@ -6973,6 +7017,10 @@
[
"2022-02-18T21:34:22",
1604
],
[
"2022-02-20T01:47:14",
1645
]
],
"salesforce": [
Expand Down Expand Up @@ -7555,6 +7603,10 @@
[
"2022-02-18T21:34:22",
10753
],
[
"2022-02-20T01:47:14",
10817
]
],
"scala": [
Expand Down Expand Up @@ -8133,6 +8185,10 @@
[
"2022-02-18T21:34:22",
1443
],
[
"2022-02-20T01:47:14",
1450
]
],
"swift": [
Expand Down Expand Up @@ -8711,6 +8767,10 @@
[
"2022-02-18T21:34:22",
1484
],
[
"2022-02-20T01:47:14",
1491
]
],
"terraform": [
Expand Down Expand Up @@ -9293,6 +9353,10 @@
[
"2022-02-18T21:34:22",
39583
],
[
"2022-02-20T01:47:14",
39786
]
]
}
8 changes: 4 additions & 4 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (prun, python, python3, capture,",
" time, timeit, pypy). Useful for formatting",
" magics (timeit, python3, prun, capture,",
" python, time, pypy). Useful for formatting",
" cells with custom python magics.",
" -S, --skip-string-normalization",
" Don't normalize string quotes or prefixes.",
Expand Down Expand Up @@ -1414,8 +1414,8 @@
" of opening bracket's line.",
" --ignore errors Comma-separated list of errors and warnings to ignore",
" (or skip). For example, ``--ignore=E4,E51,W234``.",
" (Default: ['W504', 'E123', 'E126', 'W503', 'E704',",
" 'E226', 'E121', 'E24'])",
" (Default: ['E704', 'W504', 'E123', 'E121', 'E126',",
" 'E226', 'E24', 'W503'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down
2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"clippy": "0.1.58",
"clj-kondo": "2022.01.15",
"coffeelint": "5.2.4",
"cpplint": "1.5.5",
"cpplint": "1.6.0",
"cspell": "5.18.5",
"dartanalyzer": "0.0.0",
"dockerfilelint": "1.8.0",
Expand Down
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ CVE-2021-37701
CVE-2021-37712
CVE-2021-37713
CVE-2021-37714
CVE-2021-3538
CVE-2021-3807
CVE-2021-3918
CVE-2021-41092
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Linter versions upgrades
- [cpplint](https://github.com/cpplint/cpplint) from 1.5.5 to **1.6.0** on 2022-02-20
<!-- linter-versions-end -->

## [v5.8.0] - 2022-02-18
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
| [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.58 | <!-- --> | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} |
| [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.01.15 | <!-- --> | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} |
| [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.4 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} |
| [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.5.5 | <!-- --> | [C](descriptors/c_cpplint.md)<br/> [CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} |
| [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.6.0 | <!-- --> | [C](descriptors/c_cpplint.md)<br/> [CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} |
| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.18.5 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} |
| [**dartanalyzer**](https://github.com/dart-lang/sdk){target=_blank} | N/A | [BSD-3-Clause](licenses/dartanalyzer.md) | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} |
| [**dockerfilelint**](https://github.com/replicatedhq/dockerfilelint){target=_blank} | 1.8.0 | <!-- --> | [DOCKERFILE](descriptors/dockerfile_dockerfilelint.md) | :white_circle: | [Web Site](https://github.com/replicatedhq/dockerfilelint){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/c_cpplint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## cpplint documentation

- Version in MegaLinter: **1.5.5**
- Version in MegaLinter: **1.6.0**
- Visit [Official Web Site](https://github.com/cpplint/cpplint#readme){target=_blank}
- See [Index of problems detected by cpplint](https://google.github.io/styleguide/cppguide.html){target=_blank}

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/cpp_cpplint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## cpplint documentation

- Version in MegaLinter: **1.5.5**
- Version in MegaLinter: **1.6.0**
- Visit [Official Web Site](https://github.com/cpplint/cpplint#readme){target=_blank}
- See [Index of problems detected by cpplint](https://google.github.io/styleguide/cppguide.html){target=_blank}

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/python_black.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ Options:
input).
--python-cell-magics TEXT When processing Jupyter Notebooks, add the
given magic to the list of known python-
magics (prun, python, python3, capture,
time, timeit, pypy). Useful for formatting
magics (timeit, python3, prun, capture,
python, time, pypy). Useful for formatting
cells with custom python magics.
-S, --skip-string-normalization
Don't normalize string quotes or prefixes.
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/python_flake8.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ optional arguments:
of opening bracket's line.
--ignore errors Comma-separated list of errors and warnings to ignore
(or skip). For example, ``--ignore=E4,E51,W234``.
(Default: ['W504', 'E123', 'E126', 'W503', 'E704',
'E226', 'E121', 'E24'])
(Default: ['E704', 'W504', 'E123', 'E121', 'E126',
'E226', 'E24', 'W503'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
2 changes: 1 addition & 1 deletion flavors/ci_light/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-ci_light:v5.8.0"
image: "docker://megalinter/megalinter-ci_light:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/dart/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-dart:v5.8.0"
image: "docker://megalinter/megalinter-dart:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-documentation:v5.8.0"
image: "docker://megalinter/megalinter-documentation:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-dotnet:v5.8.0"
image: "docker://megalinter/megalinter-dotnet:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-go:v5.8.0"
image: "docker://megalinter/megalinter-go:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-java:v5.8.0"
image: "docker://megalinter/megalinter-java:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-javascript:v5.8.0"
image: "docker://megalinter/megalinter-javascript:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-php:v5.8.0"
image: "docker://megalinter/megalinter-php:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-python:v5.8.0"
image: "docker://megalinter/megalinter-python:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-ruby:v5.8.0"
image: "docker://megalinter/megalinter-ruby:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-rust:v5.8.0"
image: "docker://megalinter/megalinter-rust:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-salesforce:v5.8.0"
image: "docker://megalinter/megalinter-salesforce:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/scala/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-scala:v5.8.0"
image: "docker://megalinter/megalinter-scala:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-swift:v5.8.0"
image: "docker://megalinter/megalinter-swift:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
Loading

0 comments on commit bbac3d1

Please sign in to comment.