Skip to content

feat(github-action)!: Update oxsecurity/megalinter action to v9.4.0#899

Open
chii-bot[bot] wants to merge 1 commit intomainfrom
renovate/oxsecurity-megalinter-9.x
Open

feat(github-action)!: Update oxsecurity/megalinter action to v9.4.0#899
chii-bot[bot] wants to merge 1 commit intomainfrom
renovate/oxsecurity-megalinter-9.x

Conversation

@chii-bot
Copy link
Copy Markdown
Contributor

@chii-bot chii-bot bot commented Sep 20, 2025

This PR contains the following updates:

Package Type Update Change
oxsecurity/megalinter action major v6.3.0 -> v9.4.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

oxsecurity/megalinter

v9.4.0

Compare Source

  • Core

    • Improve files browsing performances (2 PRs)
    • Optimize parallel linter processing and improve grouping logic
    • Improve performance of listing .gitignored files by sending excluded directories to git ls-files
    • If there are more than 500 .gitignored files, advise to add more excluded directories using variable ADDITIONAL_EXCLUDED_DIRECTORIES, to improve performances
    • Reduce redundant config lookups, environment copies, and dict rebuilds across config, linter, and utils modules
    • Cache subprocess environment per linter run and excluded directories per request
    • Optimize parallel linter result update from O(n²) to O(n)
    • Add support in the build of Docker images for linux/arm64 in compatible linters
  • New linters

  • Disabled linters

  • Linters enhancements

    • Use the official checkmake image by @​bdovaz
    • Spectral: Add sarif support to spectral by @​bdovaz
    • Spectral: Change cli_lint_mode to list_of_files to improve performances
  • Fixes

    • Add support for SSH remote origins when building custom flavors (fixes: #​6511)
    • Fix issue with plugins ignored when FLAVOR_SUGGESTIONS=false
    • Fix wrong tagging apply_fixes=True when linter has no fix options configured
    • Python mypy: Remove .ipynb from file extensions (mypy doesn't support notebooks directly) - fixes #​6904
    • Fix operator precedence bug in pre_post_factory pre/post command logic
    • Fix file handle leak in GitleaksLinter
    • Fix variable name bug in utils.get_git_context_info
    • Minor fixes in logger, SqlFluffLinter, PowershellLinter, TrivyLinter
  • Reporters

    • Add a link inviting to star MegaLinter
    • Display in the console reporter the working directory from which the commands are executed by @​bdovaz
    • Update WebHook reporter so it can send more events for a better integration with UI
    • When truncating long comments in markdown reports, keep the end of the text instead of the beginning (which usually contains less useful information)
    • In case GitHub Api returns 500, do not make the whole MegaLinter fail, display a warning instead
    • Azure Reporter: Use Azure DevOps Services REST API instead of unmaintained python wrapper lib
  • Flavors

    • Custom flavor builder
      • Add support for SSH remotes
      • Allow selection of platforms to build the custom flavor on (ex: linux/amd64, linux/arm64) and build compatible linters on these platforms
      • Build & release custom flavor builder image for linux/arm64
  • Doc

    • JSON Schema: Add default values for file extensions and file names variables + improve descriptions
    • Update default secured env variables documentation
    • Fix banner img in json_prettier and yaml_prettier docs
    • Explain better how to run tests locally
    • Vale: Mention community style packages in linter description
  • CI

    • Free more space on GitHub Actions runners to avoid build failures
    • Ignore .isorted files in secretlint to avoid scanning transient files created by other linters
    • Avoid duplicate jobs "Mirror docker image"
    • Allow to skip linters build using skip linters in latest commit text
    • Allow to disable build & push of standalone linters docker images using variable BETA_LINTERS_ENABLED=false
    • Improve performances of formatting markdown tables during build
    • Improve test classes performances and fix race conditions
    • Fix plugin test to work with forks and feature branches
    • Update .devcontainer image to trixie
  • mega-linter-runner

    • If variables are defined in a local .env file, send their values to docker/podman run command (can be useful for secret variables)
    • Never send .env file to the docker run for security reasons, instead create an empty one if needed
    • Use npm trusted publishers (OIDC) to publish mega-linter-runner
  • Linter versions upgrades (59)

v9.3.0

Compare Source

v9.2.0

Compare Source

v9.1.0

Compare Source

  • New linters

  • Linters enhancements

    • Python Linting: Added more file type supports for various linters. Full description here
  • Doc

    • Add OLLAMA_BASE_URL is MegaLinter config Json schema
  • Flavors

    • Custom flavors: Add workflow to automate detection of new MegaLinter versions and generation of new Custom Flavor
  • CI

    • Fix v9 release issue + mark hardcoded versions to upgrade at each new major release.
  • Linter versions upgrades (22)

v9.0.1

Compare Source

  • Fix v9 release issue

v9.0.0

Compare Source

  • Core

    • Create your own Megalinter Custom Flavors to dramatically improve your performances
      • See documentation for usage
      • Use npx mega-linter-runner@beta --custom-flavor-setup to initialize repo
      • Suggest new flavors in reporters with a mega-linter-runner including the list of linters
    • New LLM Advisor: call external LLMs to get hints to solve linter errors, available in:
      • Console Reporter
      • Text Reporter
      • Git platforms PR/MR comments Reporter
    • Use ghcr.io docker images by default because of rate limits on docker.io
    • Use uv to create the venv folder for pip-installed linters
    • Add copilot instructions for GitHub Copilot
    • Update base image to python:3.13-alpine3.21 (also embeds go 1.24)
  • Disabled linters

  • Removed linters

    • markdown-link-check has been removed because lychee can be used instead, and has much better performances
  • Linters enhancements

    • PHP-CS-Fixer is able to run on PHP 8.4 without error (change default configuration) by @​llaville
    • cspell: Filter output lines that do not contain found issues
    • hadolint: Extend DOCKERFILE_HADOLINT_FILE_NAMES_REGEX to include the purpose.Dockerfile convention eg service.Dockerfile.
    • sqlfluff: Handle fixing of issues
  • Fixes

    • When linter is docker based, force --platform=linux/amd64 so it works when running locally on Mac
    • Added checking of *.pyi and *.ipynb files to the ruff and ruff-format linters
  • Reporters

    • New default display for Pull Request comments, with expandable sections containing the first 1000 lines of the output log. Former display remains available by defining REPORTERS_MARKDOWN_SUMMARY_TYPE=table
    • Markdown summary reporter:
      • Write a file for Github integration if GITHUB_STEP_SUMMARY is set
      • Truncate less linter output lines
    • Text reporter: Change the output file names to put the linter name first, then the status
    • Enhance display of markdown summary
  • Doc

    • Update documentation in all megalinter descriptor files to improve accuracy and consistency
    • Fix incorrect information in linters documentation and descriptors
    • Remove dead links
    • Add linter description (linter_text) in all linter descriptor, to generate a more exhaustive documentation.
    • Update contributing guide to explain how to manage python dependencies in the codebase
  • Flavors

    • Do not suggest flavors that have more linters than the current one
  • CI

    • Update default MegaLinter CI/CD workflows to disable LLM_ADVISOR in case of bot pull requests
  • mega-linter-runner

    • Add all CI/CD providers in the --install command
    • Use ghcr.io docker images by default
    • New parameter --container-engine allowing to use podman as runner
    • mega-linter-runner --upgrade: Handle upgrade of github actions to their latest version
    • mega-linter-runner --upgrade: Upgrades MegaLinter actions and images to v9
  • Linter versions upgrades (68)

v8.8.0

Compare Source

v8.7.0

Compare Source

v8.6.0

Compare Source

v8.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@chii-bot chii-bot bot requested a review from toboshii as a code owner September 20, 2025 10:20
@chii-bot chii-bot bot added renovate/github-release renovate/github-action type/major size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/github Changes made in the github directory labels Sep 20, 2025
@chii-bot
Copy link
Copy Markdown
Contributor Author

chii-bot bot commented Sep 20, 2025

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
❌ ACTION actionlint 1 1 0 0.23s
❌ COPYPASTE jscpd yes 5 no 1.46s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY secretlint yes no no 2.23s
✅ YAML prettier 1 0 0 0.48s
✅ YAML yamllint 1 0 0 0.39s

Detailed Issues

❌ ACTION / actionlint - 1 error
.github/workflows/lint.yaml:20:15: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
   |
20 |         uses: actions/checkout@v3
   |               ^~~~~~~~~~~~~~~~~~~
❌ COPYPASTE / jscpd - 5 errors
Clone found (bash):
 - cluster/apps/downloads/scripts/radarr-pushover/notify.sh [10:1 - 55:22] (45 lines, 411 tokens)
   cluster/apps/downloads/scripts/sonarr-pushover/notify.sh [9:1 - 54:22]

Clone found (bash):
 - cluster/apps/downloads/scripts/radarr-pushover/notify.sh [78:2 - 91:12] (13 lines, 61 tokens)
   cluster/apps/downloads/scripts/sonarr-pushover/notify.sh [80:14 - 93:13]

Clone found (javascript):
 - scripts/lib/Talos.class.mjs [99:13 - 104:5] (5 lines, 78 tokens)
   scripts/lib/Talos.class.mjs [89:9 - 94:5]

Clone found (javascript):
 - scripts/lib/Talos.class.mjs [109:10 - 117:31] (8 lines, 87 tokens)
   scripts/lib/Talos.class.mjs [89:9 - 97:44]

Clone found (javascript):
 - scripts/lib/Talos.class.mjs [119:2 - 127:41] (8 lines, 87 tokens)
   scripts/lib/Talos.class.mjs [89:9 - 97:44]

┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format     │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ bash       │ 13             │ 713         │ 5063         │ 2            │ 58 (8.13%)       │ 472 (9.32%)       │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 3              │ 254         │ 2746         │ 3            │ 21 (8.27%)       │ 252 (9.18%)       │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ css        │ 1              │ 96          │ 487          │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total:     │ 17             │ 1063        │ 8296         │ 5            │ 79 (7.43%)       │ 724 (8.73%)       │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 5 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (7.43%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (7.43%) over threshold (0%)
    at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:612:13)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:110:18
    at Array.forEach (<anonymous>)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:22
    at async /node-deps/node_modules/jscpd/dist/jscpd.js:351:5

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 507f445 to 94cd166 Compare September 21, 2025 01:41
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v9.0.0 feat(github-action)!: Update oxsecurity/megalinter action to v9.0.1 Sep 21, 2025
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 94cd166 to 0decee7 Compare October 7, 2025 19:18
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v9.0.1 feat(github-action)!: Update oxsecurity/megalinter action to v9.1.0 Oct 7, 2025
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 0decee7 to b7a5955 Compare November 29, 2025 16:09
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v9.1.0 feat(github-action)!: Update oxsecurity/megalinter action to v9.2.0 Nov 29, 2025
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from b7a5955 to 4790124 Compare January 4, 2026 10:09
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v9.2.0 feat(github-action)!: Update oxsecurity/megalinter action to v9.3.0 Jan 4, 2026
| datasource  | package               | from   | to     |
| ----------- | --------------------- | ------ | ------ |
| github-tags | oxsecurity/megalinter | v6.3.0 | v9.4.0 |
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 4790124 to e7d9a6a Compare February 28, 2026 10:10
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v9.3.0 feat(github-action)!: Update oxsecurity/megalinter action to v9.4.0 Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made in the github directory renovate/github-action renovate/github-release size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants