From f925cb4924a2336ab7af653df35dbefe2ea3541d Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Apr 2026 20:45:20 -0400 Subject: [PATCH] fix(ci): regenerate-static-assets workflow reporting false errors on success (#1614) * Initial plan * Fix workflow logic to properly handle success status Agent-Logs-Url: https://github.com/TwiN/gatus/sessions/16d5eaf0-8b26-4f8e-8818-f245652fb022 Co-authored-by: TwiN <15699766+TwiN@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TwiN <15699766+TwiN@users.noreply.github.com> --- .github/workflows/regenerate-static-assets.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/regenerate-static-assets.yml b/.github/workflows/regenerate-static-assets.yml index 2421a2c1..b6052604 100644 --- a/.github/workflows/regenerate-static-assets.yml +++ b/.github/workflows/regenerate-static-assets.yml @@ -88,6 +88,8 @@ jobs: var workflowUrl = `${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}`; if (status === 'no_changes') { message = `@${context.actor} No changes to commit ([ref](${workflowUrl})).`; + } else if (status === 'success') { + // Assets regenerated successfully - no comment needed, just add reaction } else { reaction = '-1'; message = `@${context.actor} There was an issue regenerating static assets. Please check the [workflow run logs](${workflowUrl}) for more details.`;