[FIX] forwardport: fix the fix

Re-add token field name when creating the tagging object, as it's a
required field....
This commit is contained in:
Xavier Morel 2019-10-14 12:01:12 +02:00
parent 97999318be
commit 8937f379ce

View File

@ -597,6 +597,7 @@ More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
'repository': new_pr.repository.id,
'pull_request': new_pr.number,
'to_add': json.dumps(labels),
'token_field': 'fp_github_token',
})
# not great but we probably want to avoid the risk of the webhook
# creating the PR from under us. There's still a "hole" between