From aa168233e5fdfb3f3e9c936ca509b24cb04a5040 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Fri, 19 Sep 2025 11:00:29 +0100 Subject: [PATCH] Update verify_chromatic.yml Signed-off-by: Charles de Dreuille --- .github/workflows/verify_chromatic.yml | 28 +++----------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/.github/workflows/verify_chromatic.yml b/.github/workflows/verify_chromatic.yml index d2a684ec96..85f6d0305c 100644 --- a/.github/workflows/verify_chromatic.yml +++ b/.github/workflows/verify_chromatic.yml @@ -69,14 +69,13 @@ jobs: message: | ## 🎨 Visual Testing Results - Your visual changes have been tested with Chromatic! Here are the results: + ${{ steps.chromatic.outputs.changeCount }} visual changes were found in this build. - - [**Review Changes**](${{ steps.chromatic.outputs.url }}) - View visual diffs and approve/reject changes - - [**Build Details**](${{ steps.chromatic.outputs.buildUrl }}) - See detailed build information + - [**Review changes**](${{ steps.chromatic.outputs.buildUrl }}) - Please review the changes and approve or reject them. - [**Live Storybook**](${{ steps.chromatic.outputs.storybookUrl }}) - Browse the interactive component library
- 🔧 All Available Chromatic Outputs + All Available Chromatic Outputs | Output | Value | Description | |--------|-------|-------------| @@ -95,24 +94,3 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Post Debug Comment (if Chromatic failed) - if: github.event_name == 'pull_request' && steps.chromatic.outputs.url == '' - uses: mshick/add-pr-comment@v2 - with: - message: | - ## 🚨 Chromatic Debug Info - - The Chromatic workflow ran but didn't produce a URL. This could mean: - - Chromatic failed to run - - No changes were detected - - Configuration issue - - **Debug Info:** - - Workflow triggered: ✅ - - Chromatic URL: `${{ steps.chromatic.outputs.url }}` - - Exit Code: `${{ steps.chromatic.outputs.code }}` - - Changed files: See workflow logs above - - Please check the [workflow logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details. - repo-token: ${{ secrets.GITHUB_TOKEN }}