mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[mergebot] Amend messages for land checks (#82649)
### Description <!-- What did you change and why was it needed? --> We forgot that the < was for comments in markdown. Also added a link to the wiki to the start land checks message so users can see why their PR is taking extra time to land. ### Issue <!-- Link to Issue ticket or RFP --> n/a ### Testing <!-- How did you test your change? --> n/a Pull Request resolved: https://github.com/pytorch/pytorch/pull/82649 Approved by: https://github.com/janeyx99, https://github.com/ZainRizvi
This commit is contained in:
committed by
PyTorch MergeBot
parent
8f86e36191
commit
95c3e2370a
9
.github/scripts/trymerge.py
vendored
9
.github/scripts/trymerge.py
vendored
@ -889,7 +889,8 @@ class GitHubPR:
|
||||
gh_post_pr_comment(self.org, self.project, self.pr_num,
|
||||
'@pytorchbot successfully started a merge and created land time checks.' +
|
||||
f' See merge status [here]({os.getenv("GH_RUN_URL")}) ' +
|
||||
f'and land check progress [here](https://hud.pytorch.org/{self.org}/{self.project}/commit/{commit})')
|
||||
f'and [land check]({BOT_COMMANDS_WIKI}) '
|
||||
f'progress [here](https://hud.pytorch.org/{self.org}/{self.project}/commit/{commit}).')
|
||||
return commit
|
||||
|
||||
|
||||
@ -1241,9 +1242,9 @@ def main() -> None:
|
||||
msg += f"\nRaised by {run_url}"
|
||||
if land_checks:
|
||||
msg += (" If you believe this is an error, you can use the old behavior with `@pytorchbot merge -g`" +
|
||||
" (optionally with the ciflow/trunk to get land signals)" +
|
||||
' or use `@pytorchbot merge -f "<some reason here>".' +
|
||||
f" For more information see the [bot wiki]({BOT_COMMANDS_WIKI}).")
|
||||
' (optionally with the "ciflow/trunk" to get land signals)' +
|
||||
' or use `@pytorchbot merge -f "some reason here"`.' +
|
||||
f" For more information, see the [bot wiki]({BOT_COMMANDS_WIKI}).")
|
||||
gh_post_pr_comment(org, project, args.pr_num, msg, dry_run=args.dry_run)
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
Reference in New Issue
Block a user