oxsecurity / megalinter

🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
https://megalinter.io
GNU Affero General Public License v3.0
1.9k stars 231 forks source link

Handle renovate version comments in build script #3617

Closed echoix closed 3 months ago

echoix commented 3 months ago

Fixes #

Proposed Changes

  1. Consider ARG instructions lines starting with # renovate: as an ARG instruction
  2. Consider ARG instructions when separating ARG from FROM instructions.

Readiness Checklist

Author/Contributor

Reviewing Maintainer

echoix commented 3 months ago

I'd like this to be merged before enabling renovate. It will allow to create some PRs adding version comments + build args and seeing them in the on-boarding PR.