From b415a147efb57ad885362eed086ed0b62dc85255 Mon Sep 17 00:00:00 2001 From: Bheem <144472943+bheemvennapureddy@users.noreply.github.com> Date: Sat, 18 Nov 2023 00:02:31 -0600 Subject: [PATCH 1/3] Update README.md Update README.md to add allow_update_branch --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bdcba7d8c..dab374978 100644 --- a/README.md +++ b/README.md @@ -361,7 +361,12 @@ repository: # Either `true` to allow automatically deleting head branches # when pull requests are merged, or `false` to prevent automatic deletion. # Default: `false` - delete_branch_on_merge: true + delete_branch_on_merge: true + + # Either `true` to allow update branch on pull requests, + # or `false` to disallow update branch. + # Default: `false` + allow_update_branch: true # Whether to archive this repository. false will unarchive a previously archived repository. archived: false From 56726ffe219672ed643c261179c81d75ab9e73a9 Mon Sep 17 00:00:00 2001 From: Bheem <144472943+bheemvennapureddy@users.noreply.github.com> Date: Sat, 18 Nov 2023 00:04:09 -0600 Subject: [PATCH 2/3] Update settings.yml --- docs/sample-settings/settings.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/sample-settings/settings.yml b/docs/sample-settings/settings.yml index f3dc0204a..c05484ded 100644 --- a/docs/sample-settings/settings.yml +++ b/docs/sample-settings/settings.yml @@ -81,7 +81,12 @@ # Either `true` to allow automatically deleting head branches # when pull requests are merged, or `false` to prevent automatic deletion. # Default: `false` - #delete_branch_on_merge: true + #delete_branch_on_merge: true + + # Either `true` to allow update branch on pull requests, + # or `false` to disallow update branch. + # Default: `false` + # allow_update_branch: true # The following attributes are applied to any repo within the org # So if a repo is not listed above is created or edited From 6d25570edebba1b84d4d0bd24db17a635d1cfe33 Mon Sep 17 00:00:00 2001 From: Bheem <144472943+bheemvennapureddy@users.noreply.github.com> Date: Sat, 18 Nov 2023 00:04:43 -0600 Subject: [PATCH 3/3] Update suborg.yml --- docs/sample-settings/suborg.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/sample-settings/suborg.yml b/docs/sample-settings/suborg.yml index 22432874d..6221e83ac 100644 --- a/docs/sample-settings/suborg.yml +++ b/docs/sample-settings/suborg.yml @@ -83,7 +83,12 @@ suborgteams: # Either `true` to allow automatically deleting head branches # when pull requests are merged, or `false` to prevent automatic deletion. # Default: `false` - #delete_branch_on_merge: true + #delete_branch_on_merge: true + + # Either `true` to allow update branch on pull requests, + # or `false` to disallow update branch. + # Default: `false` + # allow_update_branch: true # The following attributes are applied to any repo within the org # So if a repo is not listed above is created or edited