Are you sure you want to delete this access key?
title | intro | redirect_from | versions | topics |
---|---|---|---|---|
Disabling or limiting GitHub Actions for your organization | Organization owners can disable, enable, and limit GitHub Actions for an organization. | [/github/setting-up-and-managing-organizations-and-teams/disabling-or-limiting-github-actions-for-your-organization] | [{free-pro-team *} {enterprise-server >=2.22} {github-ae *}] | [Organizations Teams] |
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
{% data reusables.github-actions.disabling-github-actions %} For more information about {% data variables.product.prodname_actions %}, see "About {% data variables.product.prodname_actions %}."
You can enable {% data variables.product.prodname_actions %} for all repositories in your organization. {% data reusables.github-actions.enabled-actions-description %} You can disable {% data variables.product.prodname_actions %} for all repositories in your organization. {% data reusables.github-actions.disabled-actions-description %}
Alternatively, you can enable {% data variables.product.prodname_actions %} for all repositories in your organization but limit the actions a workflow can run. {% data reusables.github-actions.enabled-local-github-actions %}
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.23" %}
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.settings-sidebar-actions %}
{% endif %}
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
You can disable all workflows for an organization or set a policy that configures which actions can be used in an organization.
{% data reusables.actions.actions-use-policy-settings %}
{% note %}
Note: You might not be able to manage these settings if your organization is managed by an enterprise that has overriding policy. For more information, {% if currentVersion == "free-pro-team@latest" %}"Enforcing {% data variables.product.prodname_actions %} policies in your enterprise account."{% else %}"Enforcing {% data variables.product.prodname_actions %} policies for your enterprise."{% endif %}
{% endnote %}
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.settings-sidebar-actions %}
{% data reusables.actions.allow-specific-actions-intro %}
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.settings-sidebar-actions %}
{% endif %}
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
{% data reusables.github-actions.private-repository-forks-overview %}
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.settings-sidebar-actions %} {% data reusables.github-actions.private-repository-forks-configure %} {% endif %}
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}
GITHUB_TOKEN
for your organization{% data reusables.github-actions.workflow-permissions-intro %}
You can set the default permissions for the GITHUB_TOKEN
in the settings for your organization or your repositories. If you choose the restricted option as the default in your organization settings, the same option is auto-selected in the settings for repositories within your organization, and the permissive option is disabled. If your organization belongs to a {% data variables.product.prodname_enterprise %} account and the more restricted default has been selected in the enterprise settings, you won't be able to choose the more permissive default in your organization settings.
{% data reusables.github-actions.workflow-permissions-modifying %}
GITHUB_TOKEN
permissions{% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.settings-sidebar-actions %}
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?