"""Print commit and CL info for the commits that are submitted with CL-first workflow and warn the release manager to check manually."""
importre
importsubprocess
ifcommits_wo_pr:
print("***WARNING***")
print(
"The following commits are submitted with the CL-first workflow and does not have a PR number available in its commit info!"
)
print(
"Release manager needs to use the following info to go to the CL and gets the PR info from the Copybara:copybara_presubmit info on the CL and manually verify if the PR has the `release notes: yes` label!"
)
print("\n")
print("***WARNING***")
print(
"The following commits are submitted with the CL-first workflow and does not have a PR number available in its commit info!"
)
print(
"Release manager needs to use the following info to go to the CL and gets the PR info from the Copybara:copybara_presubmit info on the CL and manually verify if the PR has the `release notes: yes` label!"