Internal/Private repo actions not functioning although repo option is set properly
See original GitHub issueRecently found this option in repositoing settings > actions
Set it to org access as seen in the screenshot.
I tried to run the action directly from another repos workflow but it failed saying:
Download action repository '<org-removed>/<repo-removed>@master' (SHA:0543e0509f1b2b87c304e1789859bad624b9fabd)
32
Error: An action could not be found at the URI 'https://api.github.com/repos/<org-removed>/<repo-removed>/tarball/0543e0509f1b2b87c304e1789859bad624b9fabd'
Seems like I’m not the only one in the community that has run into this: https://github.community/t/github-action-action-in-private-repository/16063/76?u=timharris777
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:11 (1 by maintainers)
Top Results From Across the Web
GitHub Actions can't access private repos? Here's how to fix it
GitHub Actions can't access private repos? Here's how to fix it ; Updating git repository `https://github.com/Michael-F-Bryan/my-secret-repo.git ...
Read more >github action cannot use action from private repo
The documentation seems to suggest this is possible for internal repositories of GitHub Enterprise Cloud for organizations, Allowing access ...
Read more >FINALLY! Custom GitHub Actions in Internal Repos
Just go to the repo Settings, scroll down to the Danger Zone, click “Change Visibility”, and select “Make internal”.
Read more >Building organization-wide governance and re-use for CI/ ...
But silos across businesses can lead to duplication of effort, and potential to lose out on best practices. In this post, we'll explore...
Read more >Sourcetree doesn't list GitHub private repos by default
To fix, go to your GitHub settings -> Applications -> Authorized OAuth Apps -> Sourcetree ('SourcetreeForWindows' in my case): you can see the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The option you set is for reusable workflows, not for actions.
If I did not miss anything, to use actions from internal/private repositories you still first need to check out the repo. Here’s the documentation https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-using-an-action-inside-a-different-private-repository-than-the-workflow
There is an open ticket in the Github roadmap for using actions from internal repos https://github.com/github/roadmap/issues/74
That’s promising! It looks though that it is still limited to enterprise internal (not private) repositories. I believe internal repositories are available for on-prem enterprise GitHub, right? (in my usecase, we have an enterprise GitHub organization account, but we do not have an active GitHub on-prem)