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

Branch renaming support #1328

Closed
gmcgibbon opened this issue Feb 22, 2021 · 1 comment · Fixed by #1329
Closed

Branch renaming support #1328

gmcgibbon opened this issue Feb 22, 2021 · 1 comment · Fixed by #1329

Comments

@gmcgibbon
Copy link
Contributor

gmcgibbon commented Feb 22, 2021

I see support for branch renames in the JS client, but not here in the Ruby client. Are there any plans to add support for this? If there hasn't been any work done yet, I'd be happy to help!

Note that I'm not referring to setting a default branch. I'm referring to the new rename feature that auto-switches PR targets, inherits protection rules, etc.

@tarebyte
Copy link
Member

For my reference, this is the endpoint in question: https://docs.github.com/en/rest/reference/repos#rename-a-branch

We're happy to 👀 pull requests @gmcgibbon

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 a pull request may close this issue.

2 participants