From 581b4b5a4f18248eb1de4cf50fd4d2c27bc5af8b Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 29 Sep 2026 16:36:13 +0200 Subject: [PATCH] feat: Add live deployment status badge to PR comments Motivation: Reviewers clicking the PR preview link immediately after pushing encounter temporary 404 errors because the background GitHub Pages deployment is still running. Design Choices: Embed a live SVG status badge for the "pages-build-deployment" workflow directly into the sticky PR comment, linking it to the deployment dashboard. Benefits: Provides visual real-time feedback (queued, in-progress, passing) directly on the PR, letting reviewers know exactly when the preview is ready to be viewed. --- .github/workflows/preview-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-deploy.yaml b/.github/workflows/preview-deploy.yaml index 1c994cc..956bf83 100644 --- a/.github/workflows/preview-deploy.yaml +++ b/.github/workflows/preview-deploy.yaml @@ -66,7 +66,7 @@ jobs: [PR Preview Action](https://github.com/rossjrw/pr-preview-action) ${{ steps.preview-step.outputs.action-version }} :---: |

QR code for preview link

:rocket: View preview at
${{ steps.preview-step.outputs.preview-url }}

- |
Built to branch [`gh-pages`](https://github.com/okurz/backlogger/tree/gh-pages) at ${{ steps.preview-step.outputs.action-start-time }}.
Preview will be ready when the [GitHub Pages deployment](https://github.com/okurz/backlogger/deployments) is complete.

+ |
Built to branch [`gh-pages`](https://github.com/okurz/backlogger/tree/gh-pages) at ${{ steps.preview-step.outputs.action-start-time }}.
Preview will be ready when the [GitHub Pages deployment](https://github.com/okurz/backlogger/deployments) is complete.

[![Pages Deployment Status](https://github.com/okurz/backlogger/actions/workflows/pages-build-deployment/badge.svg)](https://github.com/okurz/backlogger/deployments)
# yamllint enable rule:line-length - name: Comment on PR (remove)