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 not found #6

Open
botteonr opened this issue Jun 24, 2024 · 4 comments
Open

Branch not found #6

botteonr opened this issue Jun 24, 2024 · 4 comments

Comments

@botteonr
Copy link

botteonr commented Jun 24, 2024

Hello,

first thank you for the action 👍

Since a month or so (after a year of usage), the action doesn't work anymore:

Run satya-500/[email protected]
  with:
    branch: release
    from: 4.0.5
  env:
    GITHUB_TOKEN: ***
Error: HttpError: Branch not found

I can reproduce the error on different repositories, the tags are correctly generated in the previous step.

After a bit of searching, i suspect that the problem is the node version, warning from GitHub actions:
The following actions uses node12 which is deprecated and will be forced to run on node16: satya-500/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Could you please check if this is the cause? And if yes, update/adapt the action?

Thank you.

@botteonr
Copy link
Author

botteonr commented Jun 24, 2024

Update:

On branch master I cannot reproduce the problem.
Maybe is not related to node version.
I still not understand why the v1.0 suddenly stopped working 😕

Could you please release the action so I can reference the tag instead of master?

I will close the issue after your feedback.

@satya-500
Copy link
Owner

sure I will test and create a release

@MTBC-DevOps-MH149
Copy link

Hey guys,
We are having same issue it started to happen recently as well with all our workflows as well. Initially I though it was token might have expired but in our case token is still valid. I havent done more debugging but I believe it nodejs version.

Error: HttpError: Branch not found

@botteonr
Copy link
Author

botteonr commented Sep 11, 2024

sure I will test and create a release

@satya-500
Did you had the time to do it?

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

3 participants