From 90461cd9d75e10e64e4ba254d88ae079016b54dc Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 4 Feb 2026 09:24:46 +0100 Subject: [PATCH] Add HTML digest table artifact to release summary workflow - Add "Generate HTML digest table" step that creates out/digest.html - Implement dark theme design matching GitHub's aesthetic - Add responsive table layout with color-coded badges - Include header with period metadata and footer with blog subscription - Handle empty state when no PRs were merged during period Signed-off-by: Igor Pecovnik --- .../workflows/reporting-release-summary.yml | 270 ++++++++++++++++++ 1 file changed, 270 insertions(+) diff --git a/.github/workflows/reporting-release-summary.yml b/.github/workflows/reporting-release-summary.yml index 39984d6ef..9c7b00057 100644 --- a/.github/workflows/reporting-release-summary.yml +++ b/.github/workflows/reporting-release-summary.yml @@ -156,6 +156,276 @@ jobs: Subscribe to Blog" >> summary.md echo "


Stay up to date with the latest Armbian news, development highlights, and tips — delivered straight to your inbox." >> summary.md + - name: "Generate HTML digest table" + shell: bash + run: | + cat > out/digest.html <<'HTMLEOF' + + + + + + ${LABEL} - Armbian PR Digest + + + +

+
+

${LABEL}

+

Armbian Pull Request Digest

+
+
📅 Period: ${PERIOD}
+
📅 From: ${SINCE_UTC}
+
📅 Until: ${UNTIL_UTC}
+
+
+ HTMLEOF + + # Generate table rows + if [[ ! -s out/pr-digest.tsv ]]; then + cat >> out/digest.html <<'EOF' +
+
+
📭
+

No merged PRs in this period.

+
+
+ EOF + else + cat >> out/digest.html <<'EOF' +
+ + + + + + + + + + + EOF + + while IFS=$'\t' read -r title author repo num pr_url; do + repo_name="${repo##*/}" + cat >> out/digest.html < + + + + + + EOF + done < out/pr-digest.tsv + + cat >> out/digest.html <<'EOF' + +
Pull RequestAuthorRepositoryLink
+
${title}
+
+ ${repo_name} +
+
@${author}${repo_name}View PR #${num}
+
+ EOF + fi + + cat >> out/digest.html <<'EOF' + +
+ + + HTMLEOF + - name: Upload raw data (artifacts) uses: actions/upload-artifact@v6 with: