Skip to content

Commit

Permalink
Fix create PR in release workflow (#3528)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8b215ea)
  • Loading branch information
shashank-elastic authored and github-actions[bot] committed Apr 1, 2024
1 parent 283a84e commit 19322da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion detection_rules/devtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,8 @@ def elastic_pkg(*args):
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}
Expand Down

0 comments on commit 19322da

Please sign in to comment.