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

[Bug]: Unknown bug #480

Open
1 task done
CoolPlayLin opened this issue Feb 22, 2024 · 5 comments
Open
1 task done

[Bug]: Unknown bug #480

CoolPlayLin opened this issue Feb 22, 2024 · 5 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@CoolPlayLin
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

image

Full log: https://github.com/CoolPlayLin/AutoPublish/actions/runs/8000864953/job/21850993508

@CoolPlayLin CoolPlayLin added bug Something isn't working help wanted Extra attention is needed labels Feb 22, 2024
@russellbanks
Copy link
Owner

Are you using a classic or a fine-grained token?

@rakleed
Copy link

rakleed commented Feb 22, 2024

@russellbanks I have the same problem on komac 2.1.0:

PS C:\Users\<user>\Downloads> komac new
…
> Would you like to make a pull request for <package>? Yes
Error:
   0: <gh_user> does not have the correct permissions to execute `CreateRef`
   1: No reference was returned after creating <package>

I'm using the classic token.

@CoolPlayLin
Copy link
Author

Classic token and nightly version @russellbanks

@rakleed
Copy link

rakleed commented Feb 23, 2024

@russellbanks when I tried to create a manifest using wingetcreate, I got this error: "Unable to create a reference to the forked repository. This can be caused when the forked repository is behind by too many commits. Sync your fork and try again." If komac reports the same problem, it is worth adding a similar explanation to make it clear what needs to be done.

@CoolPlayLin
Copy link
Author

I think that's a permission issue. When I checked all of the permissions options, it works again
image
@russellbanks I think Komac needs more permissions instead of only public_repo access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants