Skip to content

Commit 4b66d6c

Browse files
Update available-rules-for-rulesets.md (#54761)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
1 parent d7f04b6 commit 4b66d6c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ When you add metadata restrictions to an existing branch or tag, the rules are e
255255

256256
## Restrict file paths
257257

258-
Prevent commits that include changes in specified file paths from being pushed to the repository.
258+
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 %}
259259

260260
{% data reusables.repositories.rulesets-push-rules-path-example %}
261261

@@ -265,7 +265,7 @@ Prevent commits that include file paths that exceed a specified character limit
265265

266266
## Restrict file extensions
267267

268-
Prevent commits that include files with specified file extensions from being pushed to the repository.
268+
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 %}
269269

270270
## Restrict file size
271271

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reasonable limits are placed on the entries of file paths and file extensions
2+
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>3.17'

0 commit comments

Comments
 (0)