Skip to content

fix: update existing preview comment instead of creating new one#94

Merged
chdeskur merged 1 commit intomainfrom
devin/1770329670-preview-comment-upsert
Feb 5, 2026
Merged

fix: update existing preview comment instead of creating new one#94
chdeskur merged 1 commit intomainfrom
devin/1770329670-preview-comment-upsert

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

fix: upsert preview docs comment instead of creating duplicates

Summary

Adds comment_tag and mode: upsert to the thollander/actions-comment-pull-request step so that subsequent pushes to a PR update the existing preview comment rather than posting a new one each time.

Review & Testing Checklist for Human

  • Verify that on a PR with multiple pushes, the preview comment is updated in place rather than duplicated
  • Confirm comment_tag: preview-docs and mode: upsert are supported parameters in thollander/actions-comment-pull-request@v2.4.3

Notes

  • The same fix was already applied to fern-api/docs (preview-docs.yml L149-150); this PR brings the docs-starter template in sync.
  • A companion PR in fern-api/fern-platform updates the dashboard template and generated-templates.ts to match.
  • Requested by: Catherine Deskur
  • Link to Devin run

Co-Authored-By: Catherine Deskur <catherine@buildwithfern.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 5, 2026

@chdeskur chdeskur merged commit 6e1d073 into main Feb 5, 2026
2 checks passed
@chdeskur chdeskur deleted the devin/1770329670-preview-comment-upsert branch February 5, 2026 22:22
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