From 8b215eac413a86522bab08cd0a1fbec3550e4b67 Mon Sep 17 00:00:00 2001 From: shashank-elastic <91139415+shashank-elastic@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:17:10 +0530 Subject: [PATCH] Fix create PR in release workflow (#3528) --- detection_rules/devtools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/detection_rules/devtools.py b/detection_rules/devtools.py index e0163ae70..a3eb87ee2 100644 --- a/detection_rules/devtools.py +++ b/detection_rules/devtools.py @@ -675,7 +675,8 @@ def integrations_pr(ctx: click.Context, local_repo: str, token: str, draft: bool None """) # noqa: E501 - pr = repo.create_pull(message, body, base_branch, branch_name, maintainer_can_modify=True, draft=draft) + pr = repo.create_pull(title=message, body=body, base=base_branch, head=branch_name, + maintainer_can_modify=True, draft=draft) # labels could also be comma separated label = {lbl for cs_labels in label for lbl in cs_labels.split(",") if lbl}