Git Product home page Git Product logo

Comments (6)

russellbanks avatar russellbanks commented on September 26, 2024

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

from komac.

rakleed avatar rakleed commented on September 26, 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.

from komac.

CoolPlayLin avatar CoolPlayLin commented on September 26, 2024

Classic token and nightly version @russellbanks

from komac.

rakleed avatar rakleed commented on September 26, 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.

from komac.

CoolPlayLin avatar CoolPlayLin commented on September 26, 2024

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

from komac.

jahvari avatar jahvari commented on September 26, 2024

@russellbanks I received the same error, but once I enabled all the permission for the token, it no longer appeared.

from komac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.