Skip to content

Custom properties

Custom properties allow you to decorate your repository with information such as compliance frameworks, data sensitivity, or project details.

1
Minimum number of approvals required for merging to protected default branch. Ignored if poc property is true or require-pull-requests is false.
true
Set to true to block force pushes for protected default branch. Ignored if poc property is true.
true
Set to true to deny deletion of protected default branch. Note that GitHub should always prevent this anyway. Ignored if poc property is true.
true
Set to true to dismiss approvals when reviewable commits are pushed to PRs targeting protected default branch. Ignored if poc property is true or require-pull-requests is false.
true
Set to true to require approval from code owners before merging to protected default branch. Ignored if poc property is true, require-pull-requests is false, or the CODEOWNERS file doesn't exist.
true
Set to true to require conversations to be resolved before merging to protected default branch. Ignored if poc property is true or require-pull-requests is false.
false
Proof of concept repo, set to true to bypass global branch protection rules.
false
Set to true to enforce policy-bot as a required check for merging to protected default branch. Ignored if poc property is true or require-pull-requests is false.
true
Set to true to require approval from someone other than the person who pushed the last commit. Ignored if poc property is true or require-pull-requests is false.
true
Set to true to require all commits to be submitted via a pull request before merging to protected default branch. Ignored if poc property is true.