diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79591ee..ccfa22d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,12 @@ repos: args: [-c, .markdownlint.json, --fix] - repo: https://github.com/adrienverge/yamllint - rev: v1.35.1 + rev: v1.37.0 hooks: - id: yamllint - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.10.0-2 + rev: v3.11.0-1 hooks: - id: shfmt @@ -51,12 +51,12 @@ repos: args: ['-shellcheck='] - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 39.156.0 + rev: 39.227.2 hooks: - id: renovate-config-validator - repo: https://github.com/bridgecrewio/checkov.git - rev: '3.2.360' + rev: '3.2.400' hooks: - id: checkov args: diff --git a/pr-lint/action.yml b/pr-lint/action.yml index 182ea88..e7613df 100644 --- a/pr-lint/action.yml +++ b/pr-lint/action.yml @@ -125,7 +125,7 @@ runs: - name: MegaLinter # You can override MegaLinter flavor used to have faster performances # More info at https://megalinter.io/latest/flavors/ - uses: oxsecurity/megalinter@146333030da68e2e58c6ff826633824fabe01eaf # v8.5.0 + uses: oxsecurity/megalinter/flavors/cupcake@146333030da68e2e58c6ff826633824fabe01eaf # v8.5.0 id: ml # All available variables are described in documentation diff --git a/run.sh b/run.sh index c535c3f..d69a9cb 100755 --- a/run.sh +++ b/run.sh @@ -78,7 +78,8 @@ find . -mindepth 1 -maxdepth 1 -type d | while read -r dir; do echo "- ⏩ Skipping $dir - action.yml missing" fi ) || { - echo "- ⚠️ Warning: Error processing directory $dir" | tee -a "$log_file" + echo "- ⚠️ Warning: Error processing directory $dir" | + tee -a "$log_file" } echo "" done @@ -106,7 +107,7 @@ fi echo "" echo "🔎 Running MegaLinter..." -if ! npx --yes mega-linter-runner; then +if ! npx --yes mega-linter-runner --flavor cupcake --fix --remove-container --container-name cupcake; then echo "- ⚠️ Warning: MegaLinter found issues" | tee -a "$log_file" fi echo ""