Closed justinmchase closed 1 year ago
The file is definitely there at the org level, yet it still can't find it.
Since your taking screenshots I assume your .github
repo is not public. So you need to you have two options make the .github public which is actually required for other features of the .github repo to work.
Or provide a PAT to resolve access between repos.
Yes its enterprise and its set to internal
, but not private
.
Do you think that this would be sufficient rather than a PAT? Which I don't think I'm going to be able to make easily for all the repos in the org.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Actually I see I have already configured it this way and it doesn't work. What a huge bummer.
Seems to be related to this thread: https://github.com/actions/setup-node/issues/49
I'll close this for now since that seems to be the answer.
❗ Please note I was wrong about the following- only Action resources are available 🤦♂️ I blame not having coffee yet this morning.
In case this proves helpful for others- at least within GitHub Enterprise (server/cloud), you can allow Actions from other repositories to read a specific repository. This can be done by performing the following steps:
read
Settings
--> Actions
--> General
Access
setting based on your needs
I have the file in the
.github/.github/release-drafter.yml
at the org level but not in the individual repos (they all have the same settings), so why is it failing? Why should it need the file in the repo if there is a totally valid one at the org level?So does it also need an empty one in each repo or something? Why am I seeing this error?