0 votes
in GitHub by
Is it possible to share actions across different repositories within an organization? If yes, then how?

1 Answer

0 votes
by

You can share actions and reusable workflows within your organization, without publishing them publicly, by allowing GitHub Actions workflows to access a private repository that contains the action or reusable workflow.

Any actions or reusable workflows stored in the private repository can be used in workflows defined in other private repositories owned by the same organization. Actions and reusable workflows stored in internal repositories cannot be used in public repositories and actions and reusable workflows stored in private repositories cannot be used in public or internal repositories.

Sharing actions and workflows with your organization

  1. Store the action or reusable workflow in a private repository. For more information, see "About repositories."
  2. Configure the repository to allow access to workflows in other private repositories. For more information, see "Managing GitHub Actions settings for a repository."
...