Error 403 using this at SSO Organization Level #472
Replies: 2 comments 4 replies
-
I found the github-api-key was the problem, at least for public repos. Our company uses an Enterprise Account and it seems to be a required parameter in my case. I still cannot download from private repos. Is this by design? |
Beta Was this translation helpful? Give feedback.
-
@fiddlermikey I recently added support for GH Enterprise as part of this issue #463 - uses: robinraju/release-downloader@0ea540940ee276d96c1b1aaed5e1118aaabdcec2
with:
repository: "owner/repo"
latest: true
fileName: "foo.zip"
token: "your token"
github-api-url: "https://[enterprise-hostname]/api/v3" Can you try this and let me know if it works for you? |
Beta Was this translation helpful? Give feedback.
-
I think I'm running into a permissions issue but hoping someone can help shed light on this 403 error I'm getting. I have an action that takes an Organization and Repository Name as inputs and should pull the latest release artifact from the repo.
I have tried various combinations to try to narrow this down.
I find tables helpful, so I made one:
Can anyone help me understand what needs to be updated? Is it the repo or action that is failing authorization? How do I track that down?
Update: I just tried downloading the artifact from the same repo where this action is run from, so not even from a different repo, and received the 403 error.
The workflow file is pretty basic:
Beta Was this translation helpful? Give feedback.
All reactions