diff --git a/docs/usage/actions/faq.md b/docs/usage/actions/faq.md index 102a1e56..d6b59be7 100644 --- a/docs/usage/actions/faq.md +++ b/docs/usage/actions/faq.md @@ -168,3 +168,8 @@ For events supported only by GitHub, see GitHub's [documentation](https://docs.g > For `pull_request` events, in [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), the `ref` is `refs/pull/:prNumber/merge`, which is a reference to the merge commit preview. However, Gitea has no such reference. > Therefore, the `ref` in Gitea Actions is `refs/pull/:prNumber/head`, which points to the head of pull request rather than the preview of the merge commit. + +## How to share actions and reusable workflows from private repositories? + +Go to the repository's **Settings** > **Actions** > **General** page and add collaborative owners. +The private repositories of collaborative owners are allowed to access the actions and workflows in the current repository.