[GHEC version] Version content about GitHub Actions (#23257)
* Remove extra liquid tags Reusable contains the same tags that it is wrapped in * update Using environments for deployment article * Version Releasing and maintaining actions * Version Adding self-hosted runners * Version Removing self-hosted runners * Version reusables * Version Managing access to self hosted runners using groups * Update Adding selfhosted runners * Update Managing access to selfhosted runners using groups * Remove enterprise from fpt version * Update Removing selfhosted runners * Update reusables
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
{% ifversion fpt %}
|
||||
1. Navigate to the main page of the repository or organization where your self-hosted runner groups are located.
|
||||
2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
3. In the left sidebar, click **Actions**.
|
||||
4. Click **Runner groups**.
|
||||
{% elsif ghec or ghes or ghae %}
|
||||
1. Navigate to where your self-hosted runner groups are located:
|
||||
* **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
* {% ifversion fpt or ghec %}**If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}**If using an enterprise-level runner**:
|
||||
|
||||
* **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.{% ifversion ghec %}
|
||||
* **If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}
|
||||
* **If using an enterprise-level runner**:
|
||||
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="The rocket ship" %}.
|
||||
1. In the left sidebar, click **Enterprise overview**.
|
||||
1. {% endif %} In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**.
|
||||
1. Navigate to the "Runner groups" settings:
|
||||
* **In an organization**: Click **Actions** in the left sidebar{% ifversion fpt or ghec %}, then click **Runner groups** below it{% endif %}.
|
||||
* {% ifversion fpt or ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion fpt or ghec %}, then click the **Runners groups** tab{% endif %}.
|
||||
2. In the left sidebar, click **Enterprise overview**.
|
||||
3. In the enterprise sidebar, click {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %}
|
||||
2. Navigate to the "Runner groups" settings:
|
||||
* **In an organization**: Click **Actions** in the left sidebar{% ifversion fpt or ghec %}, then click **Runner groups** below it{% endif %}.{% ifversion ghec or ghes or ghae %}
|
||||
* {% ifversion ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion ghec %}, then click the **Runners groups** tab{% endif %}.{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -2,7 +2,7 @@ A self-hosted runner can be located in either your repository, organization, or
|
||||
- **User repository**: You must be the repository owner.
|
||||
- **Organization**: You must be an organization owner.
|
||||
- **Organization repository**: You must be an organization owner, or have admin access to the repository.
|
||||
{% ifversion fpt or ghec %}
|
||||
{% ifversion ghec %}
|
||||
- **Enterprise account**: You must be an enterprise owner.
|
||||
{% elsif ghes or ghae %}
|
||||
- **Enterprise**: You must be a {% data variables.product.prodname_enterprise %} site administrator.
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
{% ifversion fpt %}
|
||||
1. Navigate to the main page of the organization where your self-hosted runner group is registered.
|
||||
2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
3. In the left sidebar, click **Actions**.
|
||||
4. Click **Runners**.
|
||||
{% elsif ghec or ghes or ghae %}
|
||||
1. Navigate to where your self-hosted runner is registered:
|
||||
* **In an organization**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
* {% ifversion fpt %}**If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}**If using an enterprise-level runner**:
|
||||
* {% ifversion ghec %}**If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}**If using an enterprise-level runner**:
|
||||
|
||||
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="The rocket ship" %}.
|
||||
1. In the left sidebar, click **Enterprise overview**.
|
||||
1. {% endif %} In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**.
|
||||
1. In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %}
|
||||
1. Navigate to the {% data variables.product.prodname_actions %} settings:
|
||||
* **In an organization**: Click **Actions** in the left sidebar{% ifversion fpt or ghes > 3.1 or ghae-next %}, then click **Runners**{% endif %}.
|
||||
* {% ifversion fpt %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion fpt or ghes > 3.1 or ghae-next %}, then click the **Runners** tab{% endif %}.
|
||||
* **In an organization**: Click **Actions** in the left sidebar{% ifversion fpt or ghec or ghes > 3.1 or ghae-next %}, then click **Runners**{% endif %}.
|
||||
* {% ifversion ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion fpt or ghec or ghes > 3.1 or ghae-next %}, then click the **Runners** tab{% endif %}.
|
||||
{% endif %}
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
{% ifversion fpt %}
|
||||
1. Navigate to the main page of the organization or repository where your self-hosted runner group is registered.
|
||||
2. Click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
3. In the left sidebar, click **Actions**.
|
||||
4. Click **Runners**.
|
||||
{% elsif ghec or ghes or ghae %}
|
||||
1. Navigate to where your self-hosted runner is registered:
|
||||
* **In an organization or repository**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**.
|
||||
* {% ifversion fpt or ghec %}**If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}**If using an enterprise-level runner**:
|
||||
|
||||
* **In an organization or repository**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. {% ifversion ghec %}
|
||||
* **If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}
|
||||
* **If using an enterprise-level runner**:
|
||||
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="The rocket ship" %}.
|
||||
1. In the left sidebar, click **Enterprise overview**.
|
||||
1. {% endif %} In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**.
|
||||
1. Navigate to the {% data variables.product.prodname_actions %} settings:
|
||||
* **In an organization or repository**: Click **Actions** in the left sidebar{% ifversion fpt or ghes > 3.1 or ghae-next or ghec %}, then click **Runners**{% endif %}.
|
||||
* {% ifversion fpt or ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion fpt or ghes > 3.1 or ghae-next or ghec %}, then click the **Runners** tab{% endif %}.
|
||||
2. In the left sidebar, click **Enterprise overview**.
|
||||
3. In the enterprise sidebar, click {% octicon "law" aria-label="The law icon" %} **Policies**.{% endif %}
|
||||
2. Navigate to the {% data variables.product.prodname_actions %} settings:
|
||||
* **In an organization or repository**: Click **Actions** in the left sidebar{% ifversion fpt or ghes > 3.1 or ghae-next or ghec %}, then click **Runners**{% endif %}.{% ifversion ghec or ghae or ghes %}
|
||||
* {% ifversion ghec %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion ghes > 3.1 or ghae-next or ghec %}, then click the **Runners** tab{% endif %}.{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1 +1 @@
|
||||
Alternatively, if you don't have access to the repository, organization, or enterprise on {% data variables.product.product_name %} to remove a runner, but you would like to re-use the runner machine, then you can delete the `.runner` file inside the self-hosted runner application directory. This allows the runner to be registered without having to re-download the self-hosted runner application.
|
||||
Alternatively, if you don't have access to the repository{% ifversion fpt %} or organization{% elsif ghes or ghec or ghae %}, organization, or enterprise{% endif %} on {% data variables.product.product_name %} to remove a runner, but you would like to re-use the runner machine, then you can delete the `.runner` file inside the self-hosted runner application directory. This allows the runner to be registered without having to re-download the self-hosted runner application.
|
||||
|
||||
Reference in New Issue
Block a user