Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lychee 404 error #2910

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<https://github.com/sds/scss-lint#notice-consider-other-tools-before-adopting-scss-lint>)
- 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
Expand Down
6 changes: 6 additions & 0 deletions mega-linter-runner/lib/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down