feat(branch): add block-on-rejected and block-on-review-request flags #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/branch-protect-block-flags"
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?
Adds two boolean flags to
forgejo branch protect:--block-on-rejected→block_on_rejected_reviews(block merge when reviews are rejected)--block-on-review-request→block_on_official_review_requests(block merge when official review is requested)Follows the existing has_flag + jq body-building pattern; fields only set when passed, so PATCH flows stay idempotent.
Checks: