mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
parent
747174f610
commit
32829cf880
@ -343,7 +343,8 @@ class PullRequests(models.Model):
|
||||
# only the author is delegated explicitely on the
|
||||
pr._parse_commands(author, {**comment, 'body': merge_bot + ' r+'}, login)
|
||||
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:
|
||||
close = True
|
||||
msg = None
|
||||
|
Loading…
Reference in New Issue
Block a user