Note: Not to be tackled until at least July 1st 2021
During work on T283174: Optimize MediaWiki docker image in wikibase release pipeline, @ItamarWMDE created a fork of the hadolint GitHub action in order to enable linting for multiple of Docker files in a repository (to ensure all Dockerfiles in the release pipeline are indeed linted). However, relying on a 3rd party fork is not ideal, and it was decided to give the upstream PR a month to be merged.
Therefore, the lint_dockerfiles job in the lint.yml workflow (link) must be updated according to the current state of the official hadolint GitHub Action.
- If the PR was merged and a new version was released, then the dependency must be updated accordingly
- Otherwise, we need to decide whether WMDE want to maintain a fork of the hadolint action, or forgo the functionality offered by the fork for some other solution.
- lint_dockerfiles job in the lint.yml workflow no longer relies on Itamar's personal fork
- One suggested course of action, if we don't want to maintain our own fork and the PR wasn't merged, is to split the lint_dockerfiles job into multiple steps that lint each subdirectory individually