Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Jan 15, 2026

The gh pr edit command fails with a GraphQL error about GitHub Projects (classic) deprecation, even when editing unrelated fields like title or body.

This updates the create-pr skill to use gh api PATCH requests instead, which directly call the REST API and bypass this issue entirely.

Changes:

  • Remove Step 5 "Add Reviewers" section that used gh pr edit --add-reviewer
  • Add new "Editing Existing PRs" section with working gh api commands for updating PR title/body

The `gh pr edit` command fails with a GraphQL error about Projects
(classic) deprecation, even when editing unrelated fields like title
or body. Use `gh api` PATCH requests instead which bypass this issue.

- Remove Step 5 "Add Reviewers" section that used gh pr edit
- Add new "Editing Existing PRs" section with working gh api commands

Co-Authored-By: Claude <[email protected]>
Single quotes prevented command substitution from executing.
Changed to double quotes to allow $(cat <<'EOF'...) to work.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@dcramer dcramer merged commit a76283a into main Jan 15, 2026
3 checks passed
@dcramer dcramer deleted the fix/create-pr-gh-api branch January 15, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants