First take at creating the enterprise code rulesets docs content. (#53432)
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: isaacmbrown <isaacmbrown@github.com>
This commit is contained in:
4
data/features/enterprise-code-rulesets.yml
Normal file
4
data/features/enterprise-code-rulesets.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
# Reference: #16569
|
||||
# Enterprise code rulesets
|
||||
versions:
|
||||
ghec: '*'
|
||||
@@ -1,7 +1,6 @@
|
||||
{%- ifversion push-rulesets %}
|
||||
1. Click **New ruleset**.
|
||||
1. To create a ruleset targeting branches, click **New branch ruleset**.
|
||||
1. Alternatively, to create a ruleset targeting tags, click **New tag ruleset**.
|
||||
1. To create a ruleset targeting branches, click **New branch ruleset**. Alternatively, to create a ruleset targeting tags, click **New tag ruleset**.
|
||||
{% else %}
|
||||
1. You can create a ruleset targeting branches, or a ruleset targeting tags.
|
||||
* To create a ruleset targeting branches, click **New branch ruleset**.
|
||||
|
||||
@@ -1 +1 @@
|
||||
You can import a ruleset from another repository or organization using a JSON file. This can be useful if you want to apply the same ruleset to multiple repositories or organizations.
|
||||
You can import an existing ruleset using a JSON file. This can be useful if you want to apply the same ruleset to multiple repositories or organizations.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
> [!NOTE]
|
||||
> This ruleset will enforce push restrictions for this repository's entire fork network.
|
||||
> This ruleset will enforce push restrictions for a repository's entire fork network.
|
||||
|
||||
Reference in New Issue
Block a user