Skip to content

Commit

Permalink
Update report folder into megalinter-reports (#1610)
Browse files Browse the repository at this point in the history
- Fix mega-linter-runner --upgrade so it also updates report folder to megalinter-reports in GitHub Actions Workflows [#1609](#1609)
  • Loading branch information
nvuillam authored Jul 15, 2022
1 parent fe80279 commit a0beb1a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CVE-2022-0235
CVE-2022-0778
CVE-2022-1271
CVE-2022-1996
CVE-2022-2097
CVE-2022-21680
CVE-2022-21681
CVE-2022-22822
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Fix mega-linter-runner --upgrade so it also updates report folder to megalinter-reports in GitHub Actions Workflows [#1609](https://github.com/oxsecurity/megalinter/issues/1609)

- Linter versions upgrades
- [protolint](https://github.com/yoheimuta/protolint) from 0.38.2 to **0.38.3** on 2022-07-15
- [checkov](https://www.checkov.io/) from 2.1.54 to **2.1.56** on 2022-07-15
Expand Down
11 changes: 11 additions & 0 deletions mega-linter-runner/lib/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,17 @@ jobs:
test: "megalinter/megalinter/flavors/python",
testRes: "oxsecurity/megalinter/flavors/python",
},
// GitHub Action report folder
{
regex: /Mega-Linter reports(.*)\n(.*)path:(.*)\n(.*)report/gm,
replacement: "Mega-Linter reports$1\n$2path:$3\n$4megalinter-reports",
test: ` name: Mega-Linter reports
path: |
report`,
testRes: ` name: Mega-Linter reports
path: |
megalinter-reports`,
},
// Docker image flavors
{
regex: /megalinter\/megalinter-([a-z]*):v5\.(.*)/gm,
Expand Down

0 comments on commit a0beb1a

Please sign in to comment.