From be63eb80565861b534f09f287766d1afc1859c87 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Fri, 19 Sep 2025 07:06:21 +0100 Subject: [PATCH] Update verify_chromatic.yml Signed-off-by: Charles de Dreuille --- .github/workflows/verify_chromatic.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/verify_chromatic.yml b/.github/workflows/verify_chromatic.yml index 7a7e2d99b7..69e9a502a7 100644 --- a/.github/workflows/verify_chromatic.yml +++ b/.github/workflows/verify_chromatic.yml @@ -60,9 +60,19 @@ jobs: - name: Post Chromatic Link in PR Comment if: github.event_name == 'pull_request' && steps.chromatic.outputs.url - uses: dannyhw/storybook-chromatic-link-comment@v0.11 + uses: mshick/add-pr-comment@v2 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - review-url: ${{ steps.chromatic.outputs.url }} - build-url: ${{ steps.chromatic.outputs.buildUrl }} - storybook-url: ${{ steps.chromatic.outputs.storybookUrl }} + message: | + ## 🎨 Visual Testing Results + + Your visual changes have been tested with Chromatic! Here are the results: + + | 🔗 Link | Description | + |---------|-------------| + | [**Review Changes**](${{ steps.chromatic.outputs.url }}) | View visual diffs and approve/reject changes | + | [**Build Details**](${{ steps.chromatic.outputs.buildUrl }}) | See detailed build information | + | [**Live Storybook**](${{ steps.chromatic.outputs.storybookUrl }}) | Browse the interactive component library | + + --- + *This comment is automatically updated when visual tests run.* + repo-token: ${{ secrets.GITHUB_TOKEN }}