diff --git a/CHANGELOG.md b/CHANGELOG.md index b70b2c8222f..530c87ffc5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - Add support for master branch in TEMPLATES/mega-linter.yml, by @rasa - Fix rstcheck options & install - Deprecate SCSS LINT as not maintained anymore () +- Replace `https://megalinter.io/flavors` with `https://megalinter.io/latest/flavors` to avoid lychee 404 error - Linter versions upgrades - [mypy](https://mypy.readthedocs.io/en/stable/) from 1.4.1 to **1.5.0** on 2023-08-11 diff --git a/mega-linter-runner/lib/upgrade.js b/mega-linter-runner/lib/upgrade.js index cdfda15dbe4..8c7903b2970 100644 --- a/mega-linter-runner/lib/upgrade.js +++ b/mega-linter-runner/lib/upgrade.js @@ -359,6 +359,12 @@ jobs: test: "https://megalinter.io/config-file/", testRes: "https://megalinter.io/latest/config-file/", }, + { + regex: /https:\/\/megalinter.io\/flavors/gm, + replacement: "https://megalinter.io/latest/flavors", + test: "https://megalinter.io/flavors/", + testRes: "https://megalinter.io/latest/flavors/", + }, // Github actions flavors { regex: /oxsecurity\/megalinter\/flavors\/([a-z]*)@v6\.(.*)/gm,