mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot_merge: acknowledge check command
The command works, but the 'bot would always reply it was not allowed
This commit is contained in:
parent
91d176f561
commit
48c9754906
@ -805,6 +805,7 @@ class PullRequests(models.Model):
|
|||||||
'repository': self.repository.id,
|
'repository': self.repository.id,
|
||||||
'number': self.number,
|
'number': self.number,
|
||||||
})
|
})
|
||||||
|
ok = True
|
||||||
elif command == 'review':
|
elif command == 'review':
|
||||||
if self.draft:
|
if self.draft:
|
||||||
msg = "Draft PRs can not be approved."
|
msg = "Draft PRs can not be approved."
|
||||||
|
Loading…
Reference in New Issue
Block a user