Skip to content

Commit

Permalink
Update question: 'Add results only as a comment to the PR?'
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardkaindl committed Nov 13, 2024
1 parent d536e2a commit c38be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@ def review_and_merge(args: argparse.Namespace, build_results: str) -> ExitCode:
if changes_requested(args, args.pr):
print("Changes requested by reviewers, skipping approval of the PR.")
# Ask if the build results should be added as a comment to the PR:
if args.yes or input("Add the build results as a comment to the PR [y/n]: ") == "y":
if not args.yes and input("Add results only as a comment to the PR? [y/n]: ") == "y":
review_pr(args, "--comment", build_results, args.pull_request_url)

return Success
Expand Down

0 comments on commit c38be69

Please sign in to comment.