From 9fa9325566d96dc5d36783b217cc3ffcb8404a00 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Sat, 24 May 2025 20:52:51 +0200 Subject: [PATCH] megalinter: job summary from markdown file --- .github/workflows/mega-linter.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 154c0f0..ba1b5a5 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -205,3 +205,11 @@ jobs: with: sarif_file: "megalinter-reports/megalinter-report.sarif" category: mega-linter + + # https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/ + - name: Add job summary + if: success() || failure() + run: cat "megalinter-reports/megalinter-report.md" >> "$GITHUB_STEP_SUMMARY" + + # 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 +