Skip to content

Commit 94b3349

Browse files
update references to have allow_update_branch (#560)
* Update README.md Update README.md to add allow_update_branch * Update settings.yml * Update suborg.yml
1 parent 6c297f2 commit 94b3349

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,12 @@ repository:
361361
# Either `true` to allow automatically deleting head branches
362362
# when pull requests are merged, or `false` to prevent automatic deletion.
363363
# Default: `false`
364-
delete_branch_on_merge: true
364+
delete_branch_on_merge: true
365+
366+
# Either `true` to allow update branch on pull requests,
367+
# or `false` to disallow update branch.
368+
# Default: `false`
369+
allow_update_branch: true
365370

366371
# Whether to archive this repository. false will unarchive a previously archived repository.
367372
archived: false

docs/sample-settings/settings.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,12 @@
8181
# Either `true` to allow automatically deleting head branches
8282
# when pull requests are merged, or `false` to prevent automatic deletion.
8383
# Default: `false`
84-
#delete_branch_on_merge: true
84+
#delete_branch_on_merge: true
85+
86+
# Either `true` to allow update branch on pull requests,
87+
# or `false` to disallow update branch.
88+
# Default: `false`
89+
# allow_update_branch: true
8590

8691
# The following attributes are applied to any repo within the org
8792
# So if a repo is not listed above is created or edited

docs/sample-settings/suborg.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ suborgteams:
8383
# Either `true` to allow automatically deleting head branches
8484
# when pull requests are merged, or `false` to prevent automatic deletion.
8585
# Default: `false`
86-
#delete_branch_on_merge: true
86+
#delete_branch_on_merge: true
87+
88+
# Either `true` to allow update branch on pull requests,
89+
# or `false` to disallow update branch.
90+
# Default: `false`
91+
# allow_update_branch: true
8792

8893
# The following attributes are applied to any repo within the org
8994
# So if a repo is not listed above is created or edited

0 commit comments

Comments
 (0)