Display the Plugin Check report in the PR as a comment.#456
Display the Plugin Check report in the PR as a comment.#456swissspidy merged 6 commits intoWordPress:mainfrom
Conversation
|
Thanks @swissspidy for the review. I made changes accordingly. |
There was a problem hiding this comment.
Pull request overview
This PR adds functionality to display WordPress Plugin Check reports as PR comments, providing immediate visibility into code quality issues without requiring developers to check action logs.
Key Changes:
- Creates a new comment management system to post, update, and delete PR comments
- Implements a markdown formatter for presenting check results in a user-friendly format
- Integrates PR commenting into the main workflow with appropriate error handling
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/pr-comment-manager.ts |
Implements PR comment CRUD operations with duplicate handling |
src/pr-comment-formatter.ts |
Formats check results into markdown with collapsible sections |
src/main.ts |
Integrates PR commenting with existing check result processing |
package.json |
Adds @actions/github dependency for GitHub API access |
package-lock.json |
Lockfile updates for new dependencies |
dist/ |
Compiled distribution files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
- Group PR comment related logs - Remove permission config from test action - Update existing comment instead of deleting all and then create new one always
3225092 to
466a5a4
Compare
|
@swissspidy The above review is false positive, we don't need that change. Also, I rebased my branch from the main branch and forced push for clean commit history. |
swissspidy
left a comment
There was a problem hiding this comment.
Thank you!
I'll merge this and test it in this repo in a follow-up PR.
Summary
Display the Plugin Check report in the PR as a comment.
This PR:
Related issue: #1
Screenshots
Sample report when check passed
Sample report when check failed