Skip to content

Commit 0a66ef7

Browse files
authored
Add owner/name prefix to PR number in “successful merges” and “failed merges” lists
1 parent 235af23 commit 0a66ef7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

homu/server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ def rollup(user_gh, state, repo_label, repo_cfg, repo):
345345

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

354354
# Set web.base_url in cfg to enable

0 commit comments

Comments
 (0)