From 03f0ad386cee3805af75e20658d1742635063b0d Mon Sep 17 00:00:00 2001 From: Roger Oba Date: Fri, 7 May 2021 00:43:11 -0300 Subject: [PATCH 1/3] Document more options. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 403f71d82..cf6a9c23f 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,10 @@ branches: strict: true # Required. The list of status checks to require in order to merge into this branch contexts: [] + # Commits pushed to matching branches must have verified signatures. Set to false to disable. + required_signatures: true + # Prevents merge commits from being pushed to matching branches. Set to false to disable. + required_linear_history: true # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: true # Prevent merge commits from being pushed to matching branches @@ -155,6 +159,10 @@ branches: apps: [] users: [] teams: [] + # Permits force pushes for all users with push access. Set to null to disable. + allow_force_pushes: true + # Allows users with push access to delete matching branches. Set to false to disable. + allow_deletions: true ``` ### Notes From 6d8f3fb3084955b65f17d4a541480efac72d31fd Mon Sep 17 00:00:00 2001 From: Roger Oba Date: Fri, 7 May 2021 00:48:17 -0300 Subject: [PATCH 2/3] Remove duplicate. --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index cf6a9c23f..981cb002f 100644 --- a/README.md +++ b/README.md @@ -148,11 +148,9 @@ branches: contexts: [] # Commits pushed to matching branches must have verified signatures. Set to false to disable. required_signatures: true - # Prevents merge commits from being pushed to matching branches. Set to false to disable. - required_linear_history: true # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: true - # Prevent merge commits from being pushed to matching branches + # Prevents merge commits from being pushed to matching branches. Set to false to disable. required_linear_history: true # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. restrictions: From 61bc978ba56fde0dcf115746a2fe65e3bd65f489 Mon Sep 17 00:00:00 2001 From: Roger Oba Date: Fri, 13 Aug 2021 15:46:32 -0300 Subject: [PATCH 3/3] Document `required_conversation_resolution` option. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 981cb002f..8e6e8821c 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,8 @@ branches: strict: true # Required. The list of status checks to require in order to merge into this branch contexts: [] + # When enabled, all conversations on code must be resolved before a pull request can be merged. + required_conversation_resolution: true # Commits pushed to matching branches must have verified signatures. Set to false to disable. required_signatures: true # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.