Skip to content

Commit 9fa9325

Browse files
committed
megalinter: job summary from markdown file
1 parent 1ed84a0 commit 9fa9325

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/mega-linter.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,11 @@ jobs:
205205
with:
206206
sarif_file: "megalinter-reports/megalinter-report.sarif"
207207
category: mega-linter
208+
209+
# https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/
210+
- name: Add job summary
211+
if: success() || failure()
212+
run: cat "megalinter-reports/megalinter-report.md" >> "$GITHUB_STEP_SUMMARY"
213+
214+
# 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
215+

0 commit comments

Comments
 (0)