Show comment-triggered workflows in PR CI checks#70
Closed
Conversation
…n PR CI checks When workflows are triggered by issue_comment events (/review, /describe), they don't automatically show in the PR's CI checks panel. Fix this by using the GitHub Checks API to create check runs linked to the PR's HEAD commit SHA. - review-pr.yml: add checks: write permission; create check run (in_progress) at start of manual-review job; update check run (completed) at end - self-review-pr.yml: same changes for the dogfood manual-review job - pr-describe.yml: add checks: write permission; same check run lifecycle for the generate-description job All values passed through env vars to avoid script injection. Co-authored-by: derekmisler <2684662+derekmisler@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate CI checks for comment-triggered workflows
Show comment-triggered workflows in PR CI checks
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflows triggered by
issue_commentevents (/review,/describe) run but never appear in the PR's checks panel — GitHub only auto-links runs to checks forpush/pull_request/pull_request_targetevents.Fix by using the GitHub Checks API to create and update check runs tied to the PR's HEAD SHA at the start and end of each comment-triggered job.
Changes
review-pr.yml— addchecks: write; bracketmanual-reviewwithCreate check run(in_progress) andUpdate check run(completed) stepsself-review-pr.yml— same pattern for the dogfoodmanual-reviewjobpr-describe.yml— same pattern for thegenerate-descriptionjob; check namedGenerate PR DescriptionAll dynamic values (
PR_NUMBER,CHECK_ID,JOB_STATUS) are passed viaenv:and parsed explicitly to avoid script injection.Tip
Comment
/reviewto trigger the PR Reviewer agent for automated feedback.Comment
/describeto generate a PR description.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.