🐛 Fix translation script commit in place (#14818)

This commit is contained in:
Sebastián Ramírez
2026-02-04 06:49:18 -08:00
committed by GitHub
parent fe5b617aec
commit aea61373ae

View File

@@ -411,7 +411,8 @@ def make_pr(
print(f"Creating a new branch {branch_name}")
subprocess.run(["git", "checkout", "-b", branch_name], check=True)
else:
print(f"Committing in place on branch {current_branch}")
branch_name = current_branch
print(f"Committing in place on branch {branch_name}")
print("Adding updated files")
git_path = Path("docs")
subprocess.run(["git", "add", str(git_path)], check=True)