[GitHub Actions] Handle subtrees with overlapping names (#327)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6f09eb3418
Коммит
b36c1ab6ab
@@ -208,7 +208,7 @@ def main(argv: Optional[List[str]] = None) -> None:
|
||||
merge_sha = client.get_squash_merge_commit(args.repo, args.pr)
|
||||
logger.debug(f"Merge commit for PR #{args.pr} in {args.repo}: {merge_sha}")
|
||||
for entry in relevant_subtrees:
|
||||
prefix = f"{entry.category}/{entry.name}"
|
||||
prefix = f"{entry.category}/{entry.name}/"
|
||||
logger.debug(f"Processing subtree {prefix}")
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
patch_file = Path(tmpdir) / f"{entry.name}.patch"
|
||||
|
||||
Ссылка в новой задаче
Block a user