mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
chore: Open PRs as draft by default (#975)
This commit is contained in:
parent
ad4452032f
commit
ff7c52e649
1 changed files with 2 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ async def create_github_pr(
|
|||
base_branch: str,
|
||||
body: str,
|
||||
) -> tuple[str | None, int | None, bool]:
|
||||
"""Create a GitHub pull request via the API.
|
||||
"""Create a draft GitHub pull request via the API.
|
||||
|
||||
Args:
|
||||
repo_owner: Repository owner (e.g., "langchain-ai")
|
||||
|
|
@ -153,6 +153,7 @@ async def create_github_pr(
|
|||
"head": head_branch,
|
||||
"base": base_branch,
|
||||
"body": body,
|
||||
"draft": True,
|
||||
}
|
||||
|
||||
logger.info(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue