Add --draft flag to raise-pull-request agent PR creation command (#167068)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Abílio Costa
2026-04-01 19:53:33 +02:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent 983bade8c5
commit 6470cbeada
+1
View File
@@ -195,6 +195,7 @@ GITHUB_USER=$(gh api user --jq .login 2>/dev/null || git remote get-url "$PUSH_R
# Create PR (gh pr create pushes the branch automatically)
gh pr create --repo home-assistant/core --base dev \
--head "$GITHUB_USER:$BRANCH" \
--draft \
--title "TITLE_HERE" \
--body "$(cat <<'EOF'
BODY_HERE