Skip to content

Commit c29d2e9

Browse files
authored
Merge pull request #5650 from github/repo-sync
repo sync
2 parents cca9a71 + 9cb195b commit c29d2e9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

content/admin/github-actions/using-the-latest-version-of-the-official-bundled-actions.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,19 @@ You can use {% data variables.product.prodname_github_connect %} to allow {% dat
2626

2727
Once {% data variables.product.prodname_github_connect %} is configured, you can use the latest version of an action by deleting its local repository in the `actions` organization on your instance. For example, if your enterprise instance is using the `actions/checkout@v1` action, and you need to use `actions/checkout@v2` which isn't available on your enterprise instance, perform the following steps to be able to use the latest `checkout` action from {% data variables.product.prodname_dotcom_the_website %}:
2828

29-
1. To get the required access to delete the `checkout` repository, use the `ghe-org-admin-promote` command to promote a user to be an owner of the bundled `actions` organization. For more information, see "[Accessing the administrative shell (SSH)](/admin/configuration/accessing-the-administrative-shell-ssh)" and "[`ghe-org-admin-promote`](/admin/configuration/command-line-utilities#ghe-org-admin-promote)." For example:
29+
1. By default, site administrators are not owners of the bundled actions organization. To get the required access to delete the `checkout` repository, use the `ghe-org-admin-promote` command to promote a user to be an owner of the bundled `actions` organization. For more information, see "[Accessing the administrative shell (SSH)](/admin/configuration/accessing-the-administrative-shell-ssh)" and "[`ghe-org-admin-promote`](/admin/configuration/command-line-utilities#ghe-org-admin-promote)." For example:
3030

3131
```shell
32-
ghe-org-admin-promote -u <em>USERNAME</em> -o actions
32+
$ ghe-org-admin-promote -u octocat -o actions
33+
Do you want to give organization admin privileges for actions to octocat? (y/N) y
34+
Making octocat an admin of actions
35+
--> Adding octocat as an admin of actions
36+
--> octocat is now an admin of the actions organization
37+
--> Done.
3338
```
3439
1. On your {% data variables.product.product_name %} instance, delete the `checkout` repository within the `actions` organization. For information on how to delete a repository, see "[Deleting a repository
3540
](/github/administering-a-repository/deleting-a-repository)."
41+
1. It is recommended that you leave the `actions` organization once you no longer require administrative access. For more information, see "[Removing yourself from an organization
42+
](/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization)."
3643
1. Configure your workflow's YAML to use `actions/checkout@v2`.
3744
1. Each time your workflow runs, the runner will use the `v2` version of `actions/checkout` from {% data variables.product.prodname_dotcom_the_website %}.

0 commit comments

Comments
 (0)