Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@S1NJED
Copy link

@S1NJED S1NJED commented Mar 4, 2025

Fixes #10527

Solution

I added a condition if opts.TitleProvided and opts.BodyProvided then add the title and body.

I also noticed that using this command: gh pr create --assignee @me --fill --title "test" --body "ticket number" --web give the expected behaviour but when omitting the --assignee option it does not.

@S1NJED S1NJED requested a review from a team as a code owner March 4, 2025 11:18
@S1NJED S1NJED requested a review from BagToad March 4, 2025 11:18
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Mar 4, 2025
@BagToad
Copy link
Member

BagToad commented Mar 24, 2025

πŸ‘‹ Hi @S1NJED!

Thanks for working on this! We currently have some significant changes to gh pr create underway in #10513, so we are going to review this after that work is completed.

πŸ₯‚ ❀️

@BagToad BagToad added blocked and removed blocked labels Apr 9, 2025
@BagToad
Copy link
Member

BagToad commented Apr 15, 2025

πŸ‘‹ Hi @S1NJED

This PR is no longer blocked - please feel free to rebase your branch or merge in changes from trunk.

Please @ mention me when you're ready for a review 😁

Edit: I just realized there are two PRs open to fix this. The other is #10547 πŸ€”

@BagToad
Copy link
Member

BagToad commented Apr 17, 2025

πŸ‘‹ @S1NJED

I discussed this situation regarding there being more than one PR open with the core team, and we decided to opt for the other PR #10547 since it's closer to a state that we would accept, with it having unit tests written. We appreciate you working to improve gh, and appreciate your understanding with that decision ❀️ For now, I'll close this PR, but please feel free to ping me or the team if you have any questions.

@BagToad BagToad closed this Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gh pr create --web does not respect title and body arguments

3 participants