1
0
mirror of synced 2025-12-25 02:17:36 -05:00

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:
Patrick Knight
2025-01-09 11:12:01 -06:00
committed by GitHub
parent 7c8e544172
commit 145ef881a1
8 changed files with 242 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
# Reference: #16569
# Enterprise code rulesets
versions:
ghec: '*'

View File

@@ -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**.

View File

@@ -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.

View File

@@ -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.