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

create the pull request to current base branch instead of main #3336

Closed
sagargadamsetti opened this issue Sep 12, 2024 · 1 comment
Closed

Comments

@sagargadamsetti
Copy link

How to specify the pull request target branch

I want to set the base branch as the target branch for the pull request, instead of the default main branch.

@peter-evans
Copy link
Owner

Hi @sagargadamsetti

The action defaults to the checked out branch, but you can specify it when necessary with the base input. See the examples here for use cases that involve creating pull requests targeting other pull requests.

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

No branches or pull requests

2 participants