Git Product home page Git Product logo

Comments (5)

tatagaziz avatar tatagaziz commented on July 17, 2024 1

Pardon me, it seems the bundle install problem is a mistake on my part! (there was a settings mismatch), problem is solved and thank you once again for your help!

I think adding that you need to use PAT when using the actions in private repository into the README is a good idea, cheers!

from licensed-ci.

jonabc avatar jonabc commented on July 17, 2024 1

updated in jonabc@11816b0. If you have any suggested improvements please feel free to open a PR with any changes! 🙇

from licensed-ci.

jonabc avatar jonabc commented on July 17, 2024

👋 @tatagaziz this sounds like you're trying to access a private repo using an auth token that does not have read permissions to that repo. the most likely causes I've seen for this are:

  1. the action is using the default actions runner github auth token ${{secrets.GITHUB_TOKEN}}, which only has permissions to the repo that the action is run from
    • in this case, please create a user PAT with repository write permissions to use with the action. The user must have access to the repo running the action as well as any private repos that the action needs to access 👍 . Write permissions are needed on the token so that metadata files can be pushed to the repo, and issue comments or PRs can be created.
  2. the action is using a user PAT and that user does not have read access to the private repo
    • in this case, please review which repos the user account corresponding to the PAT has access to and give repo access to the user as needed

Do either of those cases apply here? Happy to help further if needed, and once we get this figured out I'll update the README with any additional helpful information

from licensed-ci.

tatagaziz avatar tatagaziz commented on July 17, 2024

Thank you for your response! It does currently use the default actions runner github auth token, I will try to issue a PAT and retry the workflow by using the PAT. I will update the situation once it is done 👍

from licensed-ci.

tatagaziz avatar tatagaziz commented on July 17, 2024

Hello, the PAT works and the workflow isn't catching the Validation Failed error anymore, thank you for your help! 🙇

On the other hand, it seems one of the gems installed during run: bundle install step is of a different version than the one in Gemfile.lock and that causes the licensed cache step to fail though.
( It's a different topic than the initial issue I asked though so feel free to close this one if I have to create another issue with a different question)

from licensed-ci.

Related Issues (19)

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.