ci: update status when action triggered by issue comment - #314
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 (9)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughChangesThe workflows now request Workflow status reporting
Suggested reviewers: Merge Risk: ⚪ Minimal · up to Comment-triggered workflows now report pending and final commit statuses against the pull request head SHA, improving check visibility without an identified current-head merge risk. 🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
Full details: Title checkExplanation The title follows Conventional Commits format with the valid Full details: Description checkExplanation The description is detailed, on topic, and explains the reason, implementation, and expected result. It does not use the template headings and does not state whether Jira or BZ tickets apply, but these omissions are non-critical because the required change information is present. 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. (9 skipped: 9 unsupported.) Full details: Description FormatExplanation The description does not follow either allowed template. The repository template requires Resolution Rewrite the PR description with the bug-fix sections
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
New Features
Bug Fixes