Skip to content

overwrite PR comment when updating preview#42

Merged
ateucher merged 1 commit intomainfrom
deploy-preview-comment
Mar 5, 2026
Merged

overwrite PR comment when updating preview#42
ateucher merged 1 commit intomainfrom
deploy-preview-comment

Conversation

@ateucher
Copy link
Contributor

@ateucher ateucher commented Mar 5, 2026

This will make bot comments with the deploy preview link to be overwritten each time the deploy preview is created, so that we don't have a long string of comments from the deploy preview bot

@ateucher ateucher requested a review from stefaniebutland March 5, 2026 00:27
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

@github-actions github-actions bot temporarily deployed to pull request March 5, 2026 00:28 Inactive
Copy link
Member

@stefaniebutland stefaniebutland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Is there some kind of action you want me to do to test?

@ateucher
Copy link
Contributor Author

ateucher commented Mar 5, 2026

I don't think so... we can merge and make sure it works on #41?

@ateucher ateucher merged commit 47b2fc6 into main Mar 5, 2026
2 checks passed
@ateucher ateucher deleted the deploy-preview-comment branch March 5, 2026 17:24
@ateucher
Copy link
Contributor Author

ateucher commented Mar 5, 2026

It's working:
image

I'll make this change on other repos as I come across it...

@jules32
Copy link
Contributor

jules32 commented Mar 5, 2026

So helpful, thank you!

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.

3 participants