Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable support for creating draft PRs #425

Open
luislew opened this issue Feb 23, 2021 · 1 comment
Open

Enable support for creating draft PRs #425

luislew opened this issue Feb 23, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@luislew
Copy link
Contributor

luislew commented Feb 23, 2021

draft is a boolean parameter on the create PRs API: https://docs.github.com/en/rest/reference/pulls#create-a-pull-request--parameters

Maybe we could add support for shepherd pr --draft? This is useful in cases where you want to open a lot of draft PRs to exercise CI builds without any intention of merging the PRs.

@aorinevo aorinevo self-assigned this Feb 23, 2021
@aorinevo aorinevo added the enhancement New feature or request label Feb 23, 2021
@aorinevo
Copy link
Collaborator

That's an interesting use case.

While the use case assumes PRs will never be merged and exclusively used to exercise CI, it's likely some users will want to transition the PRs to ready-for-review state. To that end, how would a user transition PRs opened in draft mode via shepherd pr --draft out of draft state?

If you're interested in contributing this change, I'm happy to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants