mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
parent
747174f610
commit
32829cf880
@ -343,7 +343,8 @@ class PullRequests(models.Model):
|
|||||||
# only the author is delegated explicitely on the
|
# only the author is delegated explicitely on the
|
||||||
pr._parse_commands(author, {**comment, 'body': merge_bot + ' r+'}, login)
|
pr._parse_commands(author, {**comment, 'body': merge_bot + ' r+'}, login)
|
||||||
elif token == 'close':
|
elif token == 'close':
|
||||||
msg = "I'm sorry, @{}. I can't close this PR for you."
|
msg = "I'm sorry, @{}. I can't close this PR for you.".format(
|
||||||
|
login)
|
||||||
if self.source_id._pr_acl(author).is_reviewer:
|
if self.source_id._pr_acl(author).is_reviewer:
|
||||||
close = True
|
close = True
|
||||||
msg = None
|
msg = None
|
||||||
|
Loading…
Reference in New Issue
Block a user