Compare commits

..

3 Commits

Author SHA1 Message Date
debug
405f3beed4 debug3 2025-01-01 22:31:21 +00:00
Sebastián Ramírez
12f7cb957e Merge 77287249c9 into dd649ff814 2025-01-01 22:29:54 +00:00
Sebastián Ramírez
77287249c9 ♻️ Update branch name 2025-01-01 22:29:40 +00:00
2 changed files with 2 additions and 1 deletions

View File

View File

@@ -1,4 +1,5 @@
import logging
import secrets
import subprocess
from collections import Counter
from datetime import datetime
@@ -285,7 +286,7 @@ def main() -> None:
subprocess.run(
["git", "config", "user.email", "github-actions@github.com"], check=True
)
branch_name = "fastapi-people-contributors"
branch_name = f"fastapi-people-contributors-{secrets.token_hex(4)}"
logging.info(f"Creating a new branch {branch_name}")
subprocess.run(["git", "checkout", "-b", branch_name], check=True)
logging.info("Adding updated file")