fix(review): request changes for failed pre-merge checks #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-7-premerge-request-changes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
RGR evidence
RED:
GREEN / verification:
Closes #7
This PR updates the review process to request changes when any pre-merge check fails, aligning the review event with the intended 'don't merge yet' signal. The changes include updates to the pipeline logic, tests, and documentation to reflect this new behavior. The implementation appears correct and safe to merge.
Walkthrough
Pipeline Logic:
review_pull_requestfunction now sets the review event toREQUEST_CHANGESif any pre-merge check fails, ensuring that the review event aligns with the pre-merge check results.pre_merge_has_failureis introduced to determine if any pre-merge checks have failed.Tests:
REQUEST_CHANGESwhen pre-merge checks fail.Documentation:
CHANGELOG.mdandUSER-GUIDE.mdare updated to describe the new behavior of the review event when pre-merge checks fail.Pre-merge checks