mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] forwardport: disable creation of draft PRs
That was only indicative and it doesn't work on private repos.
This commit is contained in:
parent
5f8e80ea77
commit
4ce4a3bda7
@ -416,7 +416,7 @@ In the former case, you may want to edit this PR message as well.
|
||||
'body': message,
|
||||
'head': '%s:%s' % (owner, new_branch),
|
||||
'base': target.name,
|
||||
'draft': has_conflicts,
|
||||
#'draft': has_conflicts, draft mode is not supported on private repos so remove it (again)
|
||||
}, headers={
|
||||
'Accept': 'application/vnd.github.shadow-cat-preview+json',
|
||||
'Authorization': 'token %s' % pr.repository.project_id.fp_github_token,
|
||||
|
Loading…
Reference in New Issue
Block a user