From 8df7ea04da879fb29694814e2b1b766e78996c8b Mon Sep 17 00:00:00 2001 From: Patrick Lee Scott Date: Thu, 19 Nov 2026 16:32:44 -0600 Subject: [PATCH] fix: report preview removal as requested --- .github/workflows/preview-cleanup.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-cleanup.yaml b/.github/workflows/preview-cleanup.yaml index d90650e..53b4e01 100644 --- a/.github/workflows/preview-cleanup.yaml +++ b/.github/workflows/preview-cleanup.yaml @@ -218,6 +218,7 @@ jobs: with: issue-number: ${{ github.event.pull_request.number }} comment-author: 'github-actions[bot]' + # Match older comments and the hidden marker in new comments. body-includes: Your preview environment has been removed. - name: Create Cleanup Comment @@ -227,7 +228,8 @@ jobs: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} body: | - Your preview environment has been removed. It will be garbage collected soon. + + Preview removal requested. Once the environment change reaches its default branch, Argo CD will remove the live resources asynchronously. - To create a new preview environment, reopen the pull request and add the preview label. + To recreate the preview, make sure the pull request is open and add the `preview` label. edit-mode: replace