Support actions and workflows from private repos #102

Open
opened 2023-04-06 06:59:50 +00:00 by Zettat123 · 1 comment
Member

Follow #80 and #91

We added support for public reusable workflows and local private reusable workflows in gitea/act#34 and gitea/act#38 respectively. But there is still no support for using actions or workflows from private repositories so far. It's necessary to make some improvements to support them.

One solution is to add the Actions' Access setting for the repos that provide private actions and workflows, just like GitHub. Here are some related docs:

In this solution, the caller workflow will be able to access the private actions and workflows from the repos owned by the same owner and the caller workflow must also be from a private repo.

Follow #80 and #91 We added support for public reusable workflows and local private reusable workflows in https://gitea.com/gitea/act/pulls/34 and https://gitea.com/gitea/act/pulls/38 respectively. But there is still no support for using actions or workflows from private repositories so far. It's necessary to make some improvements to support them. One solution is to add the Actions' Access setting for the repos that provide private actions and workflows, just like GitHub. Here are some related docs: - [Sharing actions and workflows from your private repository](https://docs.github.com/en/actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository) - [Allowing access to components in a private repository](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository) In this solution, the caller workflow will be able to access the private actions and workflows from the repos owned by the same owner and the caller workflow must also be from a private repo.
First-time contributor

Perhaps a key or token could be generated for the Runner by default at the beginning to enable it to access the private library.

Perhaps a key or token could be generated for the Runner by default at the beginning to enable it to access the private library.
Sign in to join this conversation.
No description provided.