Skip to content

Commit

Permalink
upgrade megalinter to 8.0.0 + pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Sep 15, 2024
1 parent 13e8eff commit a43ed3b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ repos:
)
- repo: https://github.com/fchastanet/bash-tools-framework
rev: 4.0.4
rev: v5.1.3
hooks:
- id: fixShebangExecutionBit
- id: awkLint
Expand Down Expand Up @@ -194,6 +194,6 @@ repos:
stages: [manual] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: 0.3.4
rev: v0.3.6
hooks:
- id: buildBashBinaries
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ repos:
)
- repo: https://github.com/fchastanet/bash-tools-framework
rev: 4.0.4
rev: v5.1.3
hooks:
- id: fixShebangExecutionBit
- id: awkLint
Expand Down Expand Up @@ -189,6 +189,6 @@ repos:
stages: [] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: 0.3.4
rev: v0.3.6
hooks:
- id: buildBashBinaries
6 changes: 3 additions & 3 deletions bin/megalinter
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ declare optionFormat="plain"
declare optionFix="0"
declare optionFilesOnly="0"
declare optionIncremental="0"
declare optionMegalinterImage="oxsecurity/megalinter-terraform:v7.10.0"
declare optionMegalinterImage="megalinter/megalinter-terraform:v8.0.0"
declare optionMegalinterConfigFile=".mega-linter.yml"
declare optionCheckMegalinterVersion="0"
# arguments variables initialization
Expand Down Expand Up @@ -1343,7 +1343,7 @@ megalinterCommandParse() {
optionIncremental="0"
local -i options_parse_optionParsedCountOptionIncremental
((options_parse_optionParsedCountOptionIncremental = 0)) || true
optionMegalinterImage="oxsecurity/megalinter-terraform:v7.10.0"
optionMegalinterImage="megalinter/megalinter-terraform:v8.0.0"
local -i options_parse_optionParsedCountOptionMegalinterImage
((options_parse_optionParsedCountOptionMegalinterImage = 0)) || true
optionMegalinterConfigFile=".mega-linter.yml"
Expand Down Expand Up @@ -1918,7 +1918,7 @@ megalinterCommandHelp() {
Array::wrap2 ' ' 76 4 " " "Specify docker megalinter image name to use."
echo

Array::wrap2 ' ' 76 6 " Default value: " "oxsecurity/megalinter-terraform:v7.10.0"
Array::wrap2 ' ' 76 6 " Default value: " "megalinter/megalinter-terraform:v8.0.0"
echo

echo -e " ${__HELP_OPTION_COLOR}--config-file <<ConfigFile>>${__HELP_NORMAL} {single}"
Expand Down
2 changes: 1 addition & 1 deletion src/_binaries/megalinter/megalinter-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ binData:
- --image
group: OptionsGroup
help: Specify docker megalinter image name to use.
defaultValue: "oxsecurity/megalinter-terraform:v7.10.0"
defaultValue: "megalinter/megalinter-terraform:v8.0.0"
type: String
helpValueName: <ImageName>
variableName: optionMegalinterImage
Expand Down

0 comments on commit a43ed3b

Please sign in to comment.