ci: update status when action triggered by issue comment - #347
Conversation
issue comment triggers do not automatically update check status in the PR, so use separate steps to update them, similar to how the tft.yml workflow works. For issue comment workflows, ensure that the head_sha is set early in the workflow and the status is only updated if there is a head_sha. Create a variable for context so it is created in one place and used in several places in the workflow. Ensure that the first steps in the workflow are to get the head_sha and set the status to In Progress. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (10)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe workflows now report pending and final commit statuses for issue-comment runs. They resolve pull request head SHAs and status contexts, check out the resolved commits, and handle matrix-specific status reporting. ChangesCommit status lifecycle
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The updated comment-triggered workflows consistently resolve pull request commits and publish pending and final statuses. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
Full details: Description checkExplanation The description clearly explains the reason and result of the changes and matches the pull request objectives. It does not use the required template headings and does not state whether an issue tracker ticket applies, but the core information is complete. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (10 skipped: 10 unsupported.) Full details: Description FormatExplanation The pull request description does not follow Resolution Update the description with the required bug-fix structure, for example:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
issue comment triggers do not automatically update check status in the PR, so
use separate steps to update them, similar to how the tft.yml workflow works.
For issue comment workflows, ensure that the head_sha is set early in the
workflow and the status is only updated if there is a head_sha.
Create a variable for context so it is created in one place and used in several
places in the workflow.
Ensure that the first steps in the workflow are to get the head_sha and set the
status to In Progress.
Signed-off-by: Rich Megginson rmeggins@redhat.com
Summary by CodeRabbit