[FIX] forwardport: disable creation of draft PRs

That was only indicative and it doesn't work on private repos.
This commit is contained in:
Xavier Morel 2019-09-11 15:00:18 +02:00
parent 5f8e80ea77
commit 4ce4a3bda7

View File

@ -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,