Skip to content

Recreate preview-links comment on each deploy#275

Merged
cwickham merged 1 commit into
mainfrom
ci/preview-comment-recreate
May 21, 2026
Merged

Recreate preview-links comment on each deploy#275
cwickham merged 1 commit into
mainfrom
ci/preview-comment-recreate

Conversation

@cwickham
Copy link
Copy Markdown
Collaborator

@cwickham cwickham commented May 21, 2026

Summary

  • Adds recreate: true to the sticky preview-links comment in deploy-preview.yml, matching what comment-blog-validation.yml already does.
  • Each new deploy now deletes the old "Preview links" comment and posts a fresh one, so the comment lands at the bottom of the PR after the latest commit — clearer signal that the deploy ran against that commit.

Test plan

  • Push a follow-up commit to a PR using this branch's workflow and confirm the preview-links comment is deleted and re-posted (rather than edited in place).

Match the validation workflow's behavior so a new deploy deletes the
old comment and posts a fresh one. Makes it clearer that the deploy
ran against the latest commit, since the comment shows up after it.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2026

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 29f6ea5
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6a0f49cc40fe2f0008692b78

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

@github-actions
Copy link
Copy Markdown

@cwickham cwickham force-pushed the ci/preview-comment-recreate branch from 358636d to 29f6ea5 Compare May 21, 2026 18:07
@cwickham cwickham marked this pull request as ready for review May 21, 2026 18:08
@cwickham cwickham merged commit 307f353 into main May 21, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant