mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
release notes: let files under test/ decide only test-only PRs
A PR with no title prefix that changes one S3 file and two Python tests under test/s3 was filed under Tests and CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7144c3c5cf
commit
8ce51ce629
2 files changed
+4
-1
No files matched your search
@@ -175,7 +175,7 @@ def section_by_scope(scope):
|
||||
|
||||
def section_by_paths(paths):
|
||||
votes = {}
|
||||
code = [p for p in paths if not p.endswith("_test.go") and not p.endswith("_test.rs")]
|
||||
code = [p for p in paths if not p.endswith(("_test.go", "_test.rs")) and not p.startswith("test/")]
|
||||
for p in code or paths:
|
||||
if p.endswith(".md"):
|
||||
section = "Documentation"
|
||||
|
||||
Reference in new issue
Block a user