I have a private git repository like:
Github.com/acct/repo1
I have a test.json
file in another private repository in the same GitHub subscription and account like:
Github.com/acct/repo2/test.json
How can a workflow in repo1
have http get access to the url Github.com/acct/repo2/test.json
?
All I need is a simple way to read the content of test.json
in a workflow running on repo2
.
It works the best for me to read the file using a curl get request.