Reusable workflows internal repositories feature removal? #25297
-
Hello, I noticed 2 docs have a bit of different info. One is saying reusable workflows work with internal repositories and the second one doesn’t. 1st link Reusing workflows - GitHub Docs
2nd link Reusing workflows - GitHub Docs
Anyone who could elaborate on this? I just spent 2 hours setting this up in our org and it seems it was for nought. I get:
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
It seems that reusable workflows for internal repositories are exclusively for enterprise users Reusing workflows - GitHub Docs |
Beta Was this translation helpful? Give feedback.
-
This seems incorrect. The document you link to has two points in regards to access:
By my reading, private repos should work as long as the workflow’s repo is accessible. |
Beta Was this translation helpful? Give feedback.
-
I think it’s a terminology confusion: internal and private are not the same. A repository can be
Internal repositories are now generally available for GitHub EnterpriseNow out of beta, the internal repository visibility allows an enterprise-owned repository to be read by any member of any organization that belongs to an enterprise account. Est. reading time: 3 minutes
Setting repository visibility - GitHub Docs |
Beta Was this translation helpful? Give feedback.
-
Hello, So since you are on GitHub Enterprise Cloud you can put a reusable worflow in a internal repository, and use it in other repositories of you organization and/or enterprise, but you must give access/permissions.
This should now allow your “caller” repository to call the reusable workflow. Regards |
Beta Was this translation helpful? Give feedback.
-
@tgrall I am not using enterprise repo but I am able to create internal repo in the organization. I gave the appropriate permission for the internal repo but, still not able to access it from the calling repo. Is this expected? |
Beta Was this translation helpful? Give feedback.
-
With this change, does it mean we don't need to be on GitHub Enterprise anymore in order to share workflows between repositories? https://github.blog/changelog/2022-12-14-github-actions-sharing-actions-and-reusable-workflows-from-private-repositories-is-now-ga/ |
Beta Was this translation helpful? Give feedback.
-
Something is wrong with the permissions here. We were using shared workflows in many repos, all of them private. And one repo was somehow created as an internal - and this one couldn't access them! |
Beta Was this translation helpful? Give feedback.
Hello,
So since you are on GitHub Enterprise Cloud you can put a reusable worflow in a internal repository, and use it in other repositories of you organization and/or enterprise, but you must give access/permissions.
This should now allow your “caller” repository to call the reusable workflow.
Regards
Tug