shiftstack-qa: Require separate approver for PR merges#81991
Conversation
Change require_self_approval from false to true so that PR authors cannot auto-approve their own PRs. A different member of openstack-approvers must explicitly /approve before Tide merges. This prevents PRs from being merged with only a single /lgtm when the author is also an approver.
|
Skipping CI for Draft Pull Request. |
WalkthroughThe ChangesSelf-approval configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
@imatza-rh: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| - repos: | ||
| - shiftstack/shiftstack-qa | ||
| require_self_approval: false | ||
| require_self_approval: true |
There was a problem hiding this comment.
require_self_approval - that's not what I'd expect to be changed to make PR author be able to approve…
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gryf, imatza-rh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Change
require_self_approvalfromfalsetotruefor shiftstack/shiftstack-qa.Problem: With
require_self_approval: false, PR authors who are inopenstack-approversget auto-approved. A single/lgtmfrom any reviewer then triggers Tide to merge immediately - before other reviewers have time to look at the code. PR #24 was merged this way with only one review.Fix:
require_self_approval: truemeans the author's implicit approval doesn't count. A different member ofopenstack-approversmust explicitly/approvebefore Tide merges.Note: This intentionally diverges from the other shiftstack repos (shiftstack-ci, ci, ghira, merge-bot, prune, bugwatcher) which all use
require_self_approval: false. shiftstack-qa is an Ansible automation framework where changes have direct CI impact, so we want stricter review controls.Merge flow after this change:
openstack-reviewers):/lgtmopenstack-approvers, NOT the author):/approveJira: OSPRH-32280