Cannot access private repository with github-token
#312
Labels
topic: documentation
Related to documentation for the project
type: imperfection
Perceived defect in any part of project
Describe the problem
GitHub Runner does not have access to private repositories, even when the
github-token
field is set.To reproduce
As part of a compile-examples workflow, I have a private repository that I want to include in the
libraries
field.As stated in the README section the token is provided to the GitHub API:
github-token: ${{ secrets.GITHUB_TOKEN }}
compile-sketches/README.md
Lines 210 to 214 in 8ac27e9
However, the internal library is not accessible to the GitHub Runner according to the logs.
Expected behavior
If I enter a private GitHub repository for the
source-url
key, and I have access to it, then the GitHub Runner should also have access to it and load the library.'arduino/compile-sketches' version
arduino/compile-sketches@v1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: