Skip to content

Commit

Permalink
Add owner/name prefix to PR number in “successful merges” and “failed…
Browse files Browse the repository at this point in the history
… merges” lists
  • Loading branch information
steffahn authored Jun 21, 2021
1 parent 235af23 commit 0a66ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homu/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@ def rollup(user_gh, state, repo_label, repo_cfg, repo):

body = 'Successful merges:\n\n'
for x in successes:
body += ' - #{} ({})\n'.format(x.num, x.title)
body += ' - {}/{}#{} ({})\n'.format(x.owner, x.name, x.num, x.title)
body += '\nFailed merges:\n\n'
for x in failures:
body += ' - #{} ({})\n'.format(x.num, x.title)
body += ' - {}/{}#{} ({})\n'.format(x.owner, x.name, x.num, x.title)
body += '\nr? @ghost\n@rustbot modify labels: rollup'

# Set web.base_url in cfg to enable
Expand Down

0 comments on commit 0a66ef7

Please sign in to comment.