From 55345fa88bc563e5c5f14b3d61d678ab12fef217 Mon Sep 17 00:00:00 2001 From: Mikey O'Toole Date: Thu, 25 Jun 2026 12:16:59 +0100 Subject: [PATCH] fix: use bullet list in deployment comments for reliable rendering GitHub requires a header + separator row for markdown tables; without them pipe characters render literally. Bullet list format works in all contexts. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e86c489..0d26af5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -139,10 +139,10 @@ jobs: with: body: | ### ⚑ Successfully deployed to Cloudflare Pages! - | **Latest commit** | ${{ github.event.pull_request.head.sha || github.sha }} | - | **Latest deploy log** | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | - | **Deploy preview URL** | [${{ steps.deploy-urls.outputs.final_url }}](${{ steps.deploy-urls.outputs.final_url }}) | - | **Environment** | ${{ steps.cloudflare-pages-deploy.outputs['pages-environment'] }} | + - πŸ”¨ **Latest commit:** `${{ github.event.pull_request.head.sha || github.sha }}` + - πŸ” **Latest deploy log:** [${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) + - 😎 **Deploy preview URL:** [${{ steps.deploy-urls.outputs.final_url }}](${{ steps.deploy-urls.outputs.final_url }}) + - 🌳 **Environment:** ${{ steps.cloudflare-pages-deploy.outputs['pages-environment'] }} - name: Create PR comment if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' }} @@ -150,10 +150,10 @@ jobs: with: message: | ### ⚑ Successfully deployed to Cloudflare Pages! - | **Latest commit** | ${{ github.event.pull_request.head.sha || github.sha }} | - | **Latest deploy log** | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | - | **Deploy preview URL** | [${{ steps.deploy-urls.outputs.final_url }}](${{ steps.deploy-urls.outputs.final_url }}) | - | **Environment** | ${{ steps.cloudflare-pages-deploy.outputs['pages-environment'] }} | + - πŸ”¨ **Latest commit:** `${{ github.event.pull_request.head.sha || github.sha }}` + - πŸ” **Latest deploy log:** [${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) + - 😎 **Deploy preview URL:** [${{ steps.deploy-urls.outputs.final_url }}](${{ steps.deploy-urls.outputs.final_url }}) + - 🌳 **Environment:** ${{ steps.cloudflare-pages-deploy.outputs['pages-environment'] }} - name: Remove label if: ${{ github.event_name == 'pull_request_target' && contains(github.event.label.name, 'πŸš€request-deploy') }}