Skip to content

Pulling data from private repo for Action #26619

Discussion options

You must be logged in to vote

Technically it’s possible, but for private dependency repositories you’d need to add a PAT for authentication as a secret and use it when pulling the dependencies, because GITHUB_TOKEN grants access only to the repository being built.

That said, wouldn’t it be better to build the dependencies when they change themselves, and then pull in build or release artifacts, or packages, during the build of your main project?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
3 participants