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

Using action to create 'master' branch fails #393

Open
MClauwaert opened this issue Jan 30, 2024 · 0 comments
Open

Using action to create 'master' branch fails #393

MClauwaert opened this issue Jan 30, 2024 · 0 comments

Comments

@MClauwaert
Copy link

MClauwaert commented Jan 30, 2024

We've recently started using this action into some of our workflows. It's been working great. But in one of our repositories, it consistently fails when asking the action to create a branch "master".

Is there any way to get some additional information on why it fails?
image

We've also tried the identical action on a test-repo. There it does work.
image

There's no branch protection rules or other special configuration associated with the failing "master" branch.

Edit:
Also double checked the commit SHA begin used. It's the correct one.

Edit2:
Using the Github REST API via Postman does allow the 'master' branch to be created.
image

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

1 participant