feat(ci): validate checklist is updated#636
Conversation
This is a small CI check that verifies a few fields in the checklist section of the PR description is updated. If this is not too disruptive, we can probably make the check required in the near future.
This reverts commit 1917edb.
69e6152 to
7ce78ec
Compare
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
📝 WalkthroughWalkthroughThis PR introduces a GitHub Actions workflow that enforces required PR checklist items on pull requests. The workflow validates that PRs contain checked entries for changelog updates and CI test result inspection, with exemption logic for the red-hat-konflux[bot] actor. ChangesPR Checklist Enforcement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/pr-checklist.yml:
- Around line 5-9: The pull_request event types list is missing the
ready_for_review transition so marking a draft PR as ready bypasses the
workflow; update the pull_request.types array in
.github/workflows/pr-checklist.yml (the block where types: includes opened,
edited, synchronize, reopened) to also include ready_for_review so the workflow
triggers when a draft is marked ready_for_review.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 6f7dfcb7-6a46-4234-a680-ef35bc3fa63b
📒 Files selected for processing (1)
.github/workflows/pr-checklist.yml
|
CodeRabbit chat interactions are restricted to organization members for this repository. Ask an organization member to interact with CodeRabbit, or set |
Description
This is a small CI check that verifies a few fields in the checklist section of the PR description is updated. If this is not too disruptive, we can probably make the check required in the near future.
Checklist
Automated testing
If any of these don't apply, please comment below.
Testing Performed