Commit 601524f
committed
docs(pull-request-workflow): fix the draft-check command
The check offered with the new rule did not run: `gh pr view --json` spells the
field `isDraft`, while `draft` belongs to the REST payload and `gh api`. Copying
it produced `Unknown JSON field: "draft"`.
Corrects the field, names the discrepancy so the next reader does not trip on it
in the other direction, and drops a sentence that argued for the practice instead
of describing it.
Assisted-by: claude-code:claude-opus-5
Agent-Session: https://claude.ai/code/session_014H1xwaAmrQRWUA3vx8bJcD
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>1 parent 365f68a commit 601524f
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
1129 | 1129 | | |
1130 | | - | |
| 1130 | + | |
1131 | 1131 | | |
1132 | 1132 | | |
1133 | | - | |
| 1133 | + | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| |||
0 commit comments