Skip to content

Commit 7ce7210

Browse files
committed
Fix #21: added note to create separate ruleset for
1 parent ee93ed3 commit 7ce7210

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/wiki-guide/When-to-think-about-branch-protections.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ The example below shows the addition of a branch ruleset that requires a pull re
5353
![Rules checklist](images/GH-branch-protections/382113942-39fd79d4-ff95-404b-86c4-8ab875cc9a4b.png){ loading=lazy }
5454
/// caption
5555
///
56+
57+
!!! note "Note"
58+
If your site is generated from `main`, you should create a separate ruleset for `gh-pages` that protects against deletions and force pushes (but does not require PRs). This is relevant when generating a site with tools like MkDocs.

0 commit comments

Comments
 (0)