Skip to content

ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.4.0 )#5571

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

ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.4.0 )#5571
renovate[bot] wants to merge 1 commit intomainfrom
renovate/oxsecurity-megalinter-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 20, 2025

This PR contains the following updates:

Package Type Update Change
oxsecurity/megalinter action major v8.8.0v9.4.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

oxsecurity/megalinter (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)


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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@carpenike-bot
Copy link
Contributor

carpenike-bot bot commented Sep 20, 2025

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 1 0 0 0.21s
❌ COPYPASTE jscpd yes 2 no 1.53s
✅ REPOSITORY git_diff yes no no 0.04s
✅ REPOSITORY secretlint yes no no 4.7s
✅ YAML prettier 1 0 0 0.53s
✅ YAML yamllint 1 0 0 0.49s

Detailed Issues

❌ COPYPASTE / jscpd - 2 errors
Clone found (bash):
 - kubernetes/cluster-0/apps/media/radarr/app/resources/pushover-notify.sh [1:1 - 87:2] (86 lines, 501 tokens)
   kubernetes/cluster-0/apps/media/readarr/audio/resources/pushover-notify.sh [1:1 - 87:2]

Clone found (bash):
 - kubernetes/cluster-0/apps/media/qbittorrent/app/resources/post-process.sh [1:1 - 121:2] (120 lines, 581 tokens)
   kubernetes/cluster-0/apps/media/sabnzbd/app/resources/post-process.sh [1:1 - 121:2]

┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format     │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ bash       │ 16             │ 707         │ 4113         │ 2            │ 206 (29.14%)     │ 1082 (26.31%)     │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ ini        │ 1              │ 22          │ 82           │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 1              │ 41          │ 206          │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total:     │ 18             │ 770         │ 4401         │ 2            │ 206 (26.75%)     │ 1082 (24.59%)     │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 2 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (26.75%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (26.75%) over threshold (0%)
    at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:615:13)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:18
    at Array.forEach (<anonymous>)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:108:22
    at async /node-deps/node_modules/jscpd/dist/bin/jscpd.js:9: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
Show us your support by starring ⭐ the repository

@renovate renovate bot changed the title ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.0.0 ) ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.0.1 ) Sep 21, 2025
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch 2 times, most recently from 8aa2a41 to 8e7a3d2 Compare September 27, 2025 18:18
@renovate renovate bot changed the title ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.0.1 ) ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.1.0 ) Oct 8, 2025
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 8e7a3d2 to efa8d6e Compare October 8, 2025 05:12
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from efa8d6e to 11f46eb Compare November 10, 2025 14:59
@renovate renovate bot changed the title ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.1.0 ) ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.2.0 ) Nov 29, 2025
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 11f46eb to b632c47 Compare November 29, 2025 18:52
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from b632c47 to 95195ff Compare January 4, 2026 14:37
@renovate renovate bot changed the title ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.2.0 ) ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.3.0 ) Jan 4, 2026
….4.0 )

| datasource  | package               | from   | to     |
| ----------- | --------------------- | ------ | ------ |
| github-tags | oxsecurity/megalinter | v8.8.0 | v9.4.0 |
@renovate renovate bot changed the title ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.3.0 ) ci(github-action)!: Update oxsecurity/megalinter action ( v8.8.0 → v9.4.0 ) Feb 28, 2026
@renovate renovate bot force-pushed the renovate/oxsecurity-megalinter-9.x branch from 95195ff to 6d7aab5 Compare February 28, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants