Comments (5)
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.
updated in jonabc@11816b0. If you have any suggested improvements please feel free to open a PR with any changes! 🙇
from licensed-ci.
👋 @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:
- 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.
- 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.
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.
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)
- Error: "does not reference a branch" when running Licensed CI HOT 3
- Error running `git add` on an empty directory HOT 2
- Question: Run on pull request HOT 8
- Dealing with PRs created after licensed has created a fixup PR HOT 3
- Better handle `refs/tags/*` refs
- Update jest to fix the dependency security warnings
- Move off of actions mocks HOT 1
- How do I actually run this tool? HOT 22
- Installation Error HOT 1
- V1.5.5 broke our flow HOT 11
- Feature request: support schedule event
- Bump to Ruby 3.1? HOT 2
- Handle rate limiting responses when querying the GitHub API
- set-output deprecation warning when running the action HOT 4
- Is it possible to have the actions done as a bot? HOT 4
- Fundamentals action items for licensed-ci - secret-scanning
- Is it possible to have the action push signed commits? HOT 2
- Publish new action version with node 20 update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from licensed-ci.