Improved pull request name display
This commit is contained in:
parent
5785a5df55
commit
7bb4f04cd2
|
@ -66,7 +66,10 @@ class GiteaHandler(BaseHookHandler):
|
|||
change = {
|
||||
'author': '{} <{}>'.format(pull_request['user']['full_name'],
|
||||
pull_request['user']['email']),
|
||||
'comments': pull_request['body'],
|
||||
'comments': 'PR#{}: {}\n\n{}'.format(
|
||||
pull_request['number'],
|
||||
pull_request['title'],
|
||||
pull_request['body']),
|
||||
'revision': pull_request['merge_base'],
|
||||
'when_timestamp': timestamp,
|
||||
'branch': head['ref'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user