Branch Protection: Require Conversation Resolution
The following rule type is available for requiring conversation resolution on branches.
stacklok/branch_protection_require_conversation_resolution
- Whether PR reviews must be resolved before merging
Ensure that the setting to require all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule is enabled.
When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule
For more information, see the GitHub documentation.
Entity
repository
Type
stacklok/branch_protection_require_conversation_resolution
Rule parameters
The stacklok/branch_protection_require_conversation_resolution
rule supports
the following parameters:
branch (string)
- The name of the branch to check. If left empty, the default branch will be used.
Rule definition options
The stacklok/branch_protection_require_conversation_resolution
rule supports
the following options:
required_conversation_resolution (boolean)
- Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule.