-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid recursing into sub-sub-sub-docs folders when looking for READMEs. #23695
Avoid recursing into sub-sub-sub-docs folders when looking for READMEs. #23695
Conversation
Fixes a bug introduced in go-gitea#22177 which allows finding READMEs like docs/docs/docs/.gitea/.github/docs/README.md Fixes go-gitea#23694
Before (after commenting in the test that this enables):
After:
|
Codecov Report
@@ Coverage Diff @@
## main #23695 +/- ##
==========================================
- Coverage 47.14% 47.06% -0.08%
==========================================
Files 1149 1163 +14
Lines 151446 153738 +2292
==========================================
+ Hits 71397 72356 +959
- Misses 71611 72869 +1258
- Partials 8438 8513 +75
... and 112 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Please update branch with main. |
I was unable to create a backport for 1.19. @kousu, please send one manually. 🍵 |
* upstream/main: Avoid recursing into sub-sub-sub-docs folders when looking for READMEs. (go-gitea#23695) [skip ci] Updated translations via Crowdin Use auto-updating, natively hoverable, localized time elements (go-gitea#23988) Reserve ".png" suffix for user/org names (go-gitea#23992) Allow adding SSH keys even if SSH server is disabled (go-gitea#24025) Add placeholder and aria attributes to release and wiki edit page (go-gitea#24031) Add --quiet option to gitea dump (go-gitea#22969) Remove "inverted" class on creating new label and cancel buttons (go-gitea#24030) Use actions job link as commit status URL instead of run link (go-gitea#24023) Make label templates have consistent behavior and priority (go-gitea#23749) Add actions support to package auth verification (go-gitea#23729)
We lock pull requests 3 months after they were closed. If there's any need for further discussion, please open a new issue. 🍵 |
Fixes a bug introduced in #22177 which allows finding READMEs like docs/docs/docs/.gitea/.github/docs/README.md
Fixes #23694