Skip to content

Commit

Permalink
Merge branch 'main' into fix-github-actions-use-ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
sasakisasaki authored Oct 11, 2024
2 parents 2faecc6 + 61dd531 commit fb8f988
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,20 @@ def main(args: argparse.Namespace) -> None:
# Switch back to base branch
repo.heads[args.base_branch].checkout()

# Compose a PR body
pr_body = f'''## Description
This PR updates the version of the repository {repo_name} in autoware.repos.
## What's changed
You can see the changes in https://github.com/{repo_name}/compare/{current_version}...{latest_tag}.
'''

# Create a PR
github_interface.create_pull_request(
repo_name = args.repo_name,
title = title,
body = f"This PR updates the version of the repository {repo_name} in autoware.repos",
body = pr_body,
head = branch_name,
base = args.base_branch
)
Expand Down

0 comments on commit fb8f988

Please sign in to comment.