Skip to content

Commit fd7958f

Browse files
committed
mega-linter: GHA step summary supported by beta (also now has expandable details in md)
1 parent 73a38a1 commit fd7958f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/mega-linter.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# You can override MegaLinter flavor used to have faster performances
6262
# More info at https://megalinter.io/latest/flavors/
6363
# uses: oxsecurity/megalinter@v8 # default (127 linters)
64-
uses: oxsecurity/megalinter/flavors/cupcake@beta # most common, was recommended in output (88 linters)
64+
uses: oxsecurity/megalinter/flavors/cupcake@beta # most common, was recommended in output (88 linters); switched from v8.7.0 to beta for new features
6565

6666
id: ml
6767

@@ -201,9 +201,9 @@ jobs:
201201
category: mega-linter
202202

203203
# https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/
204-
- name: Add job summary
205-
if: success() || failure()
206-
run: cat "megalinter-reports/megalinter-report.md" >> "$GITHUB_STEP_SUMMARY"
207-
# above should be handled by the MARKDOWN_SUMMARY_REPORTER itself after https://github.com/oxsecurity/megalinter/issues/1489, but did not work
204+
# - name: Add job summary
205+
# if: success() || failure()
206+
# run: cat "megalinter-reports/megalinter-report.md" >> "$GITHUB_STEP_SUMMARY"
207+
# the above is now handled by the MARKDOWN_SUMMARY_REPORTER itself after https://github.com/oxsecurity/megalinter/issues/1489 (available in beta)
208208

209209
# logs and artifacts are retained for 90 days, workflow run history is retained for 400 days... https://docs.github.com/en/actions/administering-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy

0 commit comments

Comments
 (0)