chore: Open PRs as draft by default (#975)

This commit is contained in:
Brace Sproul 2026-02-24 07:56:31 -08:00 • committed by GitHub
parent ad4452032f
commit ff7c52e649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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