Skip to content

Commit

Permalink
fix(create-prs-to-update-vcs-repositories): rename a function to be c…
Browse files Browse the repository at this point in the history
…ontext aware

Signed-off-by: Junya Sasaki <[email protected]>
  • Loading branch information
sasakisasaki committed Sep 5, 2024
1 parent e9b9354 commit dd45fd1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def create_one_branch(repo: git.Repo, branch_name: str) -> bool:
return True


def create_version_update_pr(args: argparse.Namespace) -> None:
def main(args: argparse.Namespace) -> None:

# Get GitHub token
github_token: str = os.getenv("GITHUB_TOKEN", default=None)
Expand Down Expand Up @@ -330,4 +330,4 @@ def create_version_update_pr(args: argparse.Namespace) -> None:

if __name__ == "__main__":

create_version_update_pr(args)
main(args)

0 comments on commit dd45fd1

Please sign in to comment.