Update available-rules-for-rulesets.md (#54761)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
6
data/features/available-rules-limit.yml
Normal file
6
data/features/available-rules-limit.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Reasonable limits are placed on the entries of file paths and file extensions
|
||||
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>3.17'
|
||||
Reference in New Issue
Block a user