1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Update available-rules-for-rulesets.md (#54761)

Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
Joy
2025-03-18 01:31:05 -07:00
committed by GitHub
parent d7f04b6b9e
commit 4b66d6c854
2 changed files with 8 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ When you add metadata restrictions to an existing branch or tag, the rules are e
## Restrict file paths
Prevent commits that include changes in specified file paths from being pushed to the repository.
Prevent commits that include changes in specified file paths from being pushed to the repository. {% ifversion available-rules-limit %}Limit is 200 entries and up to 200 characters in each entry.{% endif %}
{% data reusables.repositories.rulesets-push-rules-path-example %}
@@ -265,7 +265,7 @@ Prevent commits that include file paths that exceed a specified character limit
## Restrict file extensions
Prevent commits that include files with specified file extensions from being pushed to the repository.
Prevent commits that include files with specified file extensions from being pushed to the repository. {% ifversion available-rules-limit %}Limit is 200 entries and up to 200 characters in each entry.{% endif %}
## Restrict file size

View File

@@ -0,0 +1,6 @@
# Reasonable limits are placed on the entries of file paths and file extensions
versions:
fpt: '*'
ghec: '*'
ghes: '>3.17'