Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c29b157
updating contribution.md under docs in github
yashhd Apr 19, 2021
11d43c1
Update CONTRIBUTING.md
yashhd Apr 19, 2021
bd05f78
Update CONTRIBUTING.md
yashhd Apr 19, 2021
b9f2334
Update CONTRIBUTING.md
yashhd Apr 19, 2021
15be8fb
updating CONTRIBUTING.md
yashhd Apr 19, 2021
8cef45c
Update product call out to bg-success (#18885)
heiskr Apr 20, 2021
037efbf
Merge branch 'main' into repo-sync
Octomerger Apr 20, 2021
ceffeb6
Merge pull request #18894 from github/repo-sync
Octomerger Apr 20, 2021
139018d
Add Adobe secret scanning token types (#18871)
Apr 20, 2021
1215c9d
Merge pull request #5577 from github/repo-sync
Octomerger Apr 20, 2021
31bc6d1
Merge branch 'main' into main
janiceilene Apr 20, 2021
d555ea2
Merge pull request #5508 from yashhd/main
janiceilene Apr 20, 2021
dfd42d3
Merge pull request #18898 from github/repo-sync
Octomerger Apr 20, 2021
0d9b634
Clarify how GHES can use GH Connect for updated actions (#18857)
Apr 21, 2021
c34b374
Merge pull request #5582 from github/repo-sync
Octomerger Apr 21, 2021
8054606
Webhook restructuring follow-up (#18872)
rachmari Apr 21, 2021
3a22481
Merge branch 'main' into repo-sync
Octomerger Apr 21, 2021
f949d58
Merge pull request #5585 from github/repo-sync
Octomerger Apr 21, 2021
6c288b8
Merge branch 'main' into repo-sync
Octomerger Apr 21, 2021
ee882de
Merge pull request #18901 from github/repo-sync
Octomerger Apr 21, 2021
0c36506
Update GitHub token types we scan for (#18897)
Apr 21, 2021
cd54784
Merge branch 'main' into repo-sync
Octomerger Apr 21, 2021
8cd1df5
Merge pull request #18905 from github/repo-sync
Octomerger Apr 21, 2021
fb4d164
Merge pull request #5592 from github/repo-sync
Octomerger Apr 21, 2021
9d13602
Import missing avatar style (#18895)
heiskr Apr 21, 2021
d799729
Merge pull request #5595 from github/repo-sync
Octomerger Apr 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,24 @@ topics:

Your enterprise instance includes a number of built-in actions that you can use in your workflows. For more information about the bundled actions, see "[Official actions bundled with your enterprise instance](/admin/github-actions/about-using-actions-in-your-enterprise#official-actions-bundled-with-your-enterprise-instance)."

These bundled actions are a point-in-time snapshot of the official actions found at https://github.com/actions; as a result, these actions may be older versions that can be updated. To update these actions, you can use `actions-sync` to retrieve updated versions from {% data variables.product.prodname_dotcom_the_website %}.
These bundled actions are a point-in-time snapshot of the official actions found at https://github.com/actions, so there may be newer versions of these actions available. You can use the `actions-sync` tool to update these actions, or you can configure {% data variables.product.prodname_github_connect %} to allow access to the latest actions on {% data variables.product.prodname_dotcom_the_website %}. These options are described in the following sections.

These options are described in more detail in the following sections.
### Using `actions-sync` to update the bundled actions

### Using actions-sync to update a bundled action
To update the bundled actions, you can use the `actions-sync` tool to update the snapshot. For more information on using `actions-sync`, see "[Manually syncing actions from {% data variables.product.prodname_dotcom_the_website %}](/admin/github-actions/manually-syncing-actions-from-githubcom)."

To update the bundled actions, you can use the `actions-sync` tool to synchronize actions with {% data variables.product.prodname_dotcom_the_website %}. For more information on using `actions-sync`, see "[Manually syncing actions from {% data variables.product.prodname_dotcom_the_website %}](/admin/github-actions/manually-syncing-actions-from-githubcom)."
### Using {% data variables.product.prodname_github_connect %} to access the latest actions

### Using actions from {% data variables.product.prodname_dotcom_the_website %}
You can use {% data variables.product.prodname_github_connect %} to allow {% data variables.product.product_name %} to use actions from {% data variables.product.prodname_dotcom_the_website %}. For more information, see "[Enabling automatic access to {% data variables.product.prodname_dotcom_the_website %} actions using {% data variables.product.prodname_github_connect %}](/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect)."

To allow {% data variables.product.product_name %} to use actions directly from {% data variables.product.prodname_dotcom_the_website %}, you can use {% data variables.product.prodname_github_connect %}. For more information, see "[Enabling automatic access to {% data variables.product.prodname_dotcom_the_website %} actions using {% data variables.product.prodname_github_connect %}](/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect)."
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 %}:

Once configured, you can use a new version of an action from {% data variables.product.prodname_dotcom_the_website %} by manually specifying the required version in the workflow file. For example, to use version `v2.2.1` of `actions/setup-python` from {% data variables.product.prodname_dotcom_the_website %}, you can specify the tag `actions/[email protected]` in your workflow file.
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:

```shell
ghe-org-admin-promote -u <em>USERNAME</em> -o actions
```
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
](/github/administering-a-repository/deleting-a-repository)."
1. Configure your workflow's YAML to use `actions/checkout@v2`.
1. Each time your workflow runs, the runner will use the `v2` version of `actions/checkout` from {% data variables.product.prodname_dotcom_the_website %}.