From 4250d82870301f6df716780ddc90a50a0540e98f Mon Sep 17 00:00:00 2001 From: x <> Date: Tue, 3 Aug 2021 08:45:38 +0300 Subject: [PATCH 1/6] doc more opts Closes #439 Relates https://github.com/probot/settings/issues/220#issuecomment-613741695 Resolves #220 Resolves #420 Resolves #458 --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index bdd5b58b67..ef32dda065 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,18 @@ repository: # vulnerability alerts. enable_vulnerability_alerts: true + # Either `true` to make this repo available as a template repository or `false` to prevent it. + # is_template: false + # template_repository: false + + # Note: You cannot unarchive repositories through the API. `true` to archive this repository. + archived: false + + # Can be `public`, `private` or `internal` + visibility: public + + + # Labels: define labels for Issues and Pull Requests labels: - name: bug @@ -146,6 +158,8 @@ 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 # 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 +169,12 @@ branches: apps: [] users: [] teams: [] + # Permits force pushes for all users with push access. Set to null to disable. + allow_force_pushes: + # Allows users with push access to delete matching branches. Set to false to disable. + allow_deletions: false + # Ensure all review conversations are seen and addressed prior to merging + required_conversation_resolution: true ``` ### Notes From c7c9bdcc6b1992e814c25578482c8dbbe88aeffc Mon Sep 17 00:00:00 2001 From: foolioo <28758375+foolioo@users.noreply.github.com> Date: Mon, 9 Aug 2021 05:43:41 +0000 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef32dda065..6bba26edd8 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ repository: enable_vulnerability_alerts: true # Either `true` to make this repo available as a template repository or `false` to prevent it. - # is_template: false + is_template: false # template_repository: false # Note: You cannot unarchive repositories through the API. `true` to archive this repository. From 4a4ade2cd7d67c244b338fa54390bed24ec1b20e Mon Sep 17 00:00:00 2001 From: foolioo <28758375+foolioo@users.noreply.github.com> Date: Mon, 9 Aug 2021 05:44:36 +0000 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bba26edd8..ed2bcc6c4b 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ repository: # Note: You cannot unarchive repositories through the API. `true` to archive this repository. archived: false - # Can be `public`, `private` or `internal` + # Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be `internal`. The visibility parameter overrides the private parameter when you use both along with the nebula-preview preview header visibility: public From 2e85db1699a283f3b0576a88639b3f9d92eef797 Mon Sep 17 00:00:00 2001 From: foolioo <28758375+foolioo@users.noreply.github.com> Date: Mon, 9 Aug 2021 05:47:32 +0000 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed2bcc6c4b..666948b525 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ 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. + # 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. enforce_admins: true From 80e91321acc5bb7843ff5c10f013fa83ee160d50 Mon Sep 17 00:00:00 2001 From: foolioo <28758375+foolioo@users.noreply.github.com> Date: Mon, 9 Aug 2021 05:48:06 +0000 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 666948b525..c4083d34f0 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ branches: teams: [] # Permits force pushes for all users with push access. Set to null to disable. allow_force_pushes: - # Allows users with push access to delete matching branches. Set to false to disable. + # Allows users with push access to delete matching branches. Set to `false` to disable. allow_deletions: false # Ensure all review conversations are seen and addressed prior to merging required_conversation_resolution: true From 940a02ff43a7afe99f563d4904e2ea3d202314e1 Mon Sep 17 00:00:00 2001 From: foolioo <28758375+foolioo@users.noreply.github.com> Date: Wed, 18 Aug 2021 06:15:28 +0000 Subject: [PATCH 6/6] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c4083d34f0..38e01c63f9 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,9 @@ repository: # Either `true` to allow rebase-merging pull requests, or `false` to prevent # rebase-merging. allow_rebase_merge: true + + # Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge + allow_auto_merge: false # Either `true` to enable automatic deletion of branches on merge, or `false` to disable delete_branch_on_merge: true