X Tutup
Skip to content

fix: limit doc-check comments by restricting to one sticky comment and updating logic#21933

Merged
DevelopmentCats merged 3 commits intomainfrom
cat/doc-check-silence
Feb 6, 2026
Merged

fix: limit doc-check comments by restricting to one sticky comment and updating logic#21933
DevelopmentCats merged 3 commits intomainfrom
cat/doc-check-silence

Conversation

@DevelopmentCats
Copy link
Contributor

@DevelopmentCats DevelopmentCats commented Feb 4, 2026

This pull request updates the documentation review workflow in .github/workflows/doc-check.yaml to improve clarity and introduce sticky comment logic for doc-check reviews. The changes focus on refining the review context messages and providing detailed instructions for updating existing doc-check comments, ensuring more consistent and actionable documentation feedback.

Workflow message and prompt improvements:

  • Refined the context messages for different PR trigger types to be clearer and less repetitive, making instructions more concise for the agent.

Sticky comment logic and instructions:

  • Updated the task prompt to instruct the agent to look for an existing doc-check comment containing <!-- doc-check-sticky --> and update it instead of creating a new one, supporting more efficient and organized review threads.
  • Added detailed instructions for how to update sticky comments, including checking off addressed items, striking through items no longer needed, adding new items, and warning if changes can't be verified.
  • Modified the comment format example to include sticky comment conventions, such as strikethrough for reverted items, checkboxes for addressed items, and warnings for unverifiable documentation changes.
  • Ensured the <!-- doc-check-sticky --> marker is placed at the end of the comment for easier identification and updates in future runs.

Copilot AI review requested due to automatic review settings February 4, 2026 22:34
@DevelopmentCats DevelopmentCats changed the title fix(doc-check): limit doc-check comments by restricting to one sticky comment and updating logic fix: limit doc-check comments by restricting to one sticky comment and updating logic Feb 4, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the doc-check workflow by implementing sticky comment logic to prevent multiple doc-check comments on the same PR. It also simplifies context messages for better clarity.

Changes:

  • Simplified context messages for different PR trigger types (new PR, updates, label requests, etc.)
  • Introduced sticky comment mechanism using <!-- doc-check-sticky --> HTML marker
  • Added detailed instructions for updating existing doc-check comments (checking off items, strikethrough for reverted items, adding new items)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DevelopmentCats
Copy link
Contributor Author

DevelopmentCats commented Feb 6, 2026

I'll revisit the comment length constraints once I've had a chance to see how this change performs in practice.

@DevelopmentCats DevelopmentCats merged commit a5bc0eb into main Feb 6, 2026
25 checks passed
@DevelopmentCats DevelopmentCats deleted the cat/doc-check-silence branch February 6, 2026 15:26
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup