lfarci / github-actions

Preparation resources for the GitHub Actions certification
0 stars 0 forks source link

Identify how to select an appropriate distribution model for an action (i.e., public, private, marketplace) #54

Closed lfarci closed 1 month ago

lfarci commented 1 month ago

Choosing the right distribution model for your GitHub Action depends on your needs and the audience you want to reach. Here are the three main distribution models:

Public Actions: These are actions that are hosted in a public repository on GitHub. They can be used by anyone and are a good choice if you want to contribute to the open-source community. You can also submit public actions to the GitHub Marketplace to reach a wider audience.

Private Actions: These are actions that are hosted in a private repository. They can only be used within the same repository or within the same organization if you have GitHub Enterprise. Private actions are a good choice if your action contains sensitive information or is only relevant to your specific project or organization.

GitHub Marketplace: The GitHub Marketplace is a platform where developers can share and sell their GitHub Actions. If you want to reach a wider audience, you can submit your public action to the GitHub Marketplace. You can choose to offer your action for free or for a fee.

Here are some factors to consider when choosing a distribution model:

Audience: If you want your action to be used by as many people as possible, a public action or the GitHub Marketplace might be the best choice. If your action is only relevant to your organization, a private action might be more appropriate.

Sensitivity of Information: If your action contains sensitive information, it should be a private action.

Maintenance and Support: If you distribute your action publicly or through the GitHub Marketplace, you may need to provide more maintenance and support.

Monetization: If you want to monetize your action, you can do so through the GitHub Marketplace.

Remember to consider these factors and choose the distribution model that best fits your needs.