Skip to content

Commit 97bd9d2

Browse files
Martin Lopescschleiden
andauthored
Update description of how GHES can use the latest Actions (github#18723)
* Removed option about removing an action's tag * Empty commit for CI * Apply suggestions from code review Co-authored-by: Christopher Schleiden <cschleiden@github.com> Co-authored-by: Christopher Schleiden <cschleiden@github.com>
1 parent 3302617 commit 97bd9d2

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ Your {% data variables.product.prodname_ghe_server %} instance includes a number
1414

1515
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 %}.
1616

17-
Alternatively, if your {% data variables.product.prodname_ghe_server %} instance has {% data variables.product.prodname_github_connect %} enabled, then you have additional options for using the latest actions from {% data variables.product.prodname_dotcom_the_website %}:
18-
19-
- Your workflow file can directly reference a specific tag that only exists on {% data variables.product.prodname_dotcom_the_website %}.
20-
- To force the workflow file to use the actions on {% data variables.product.prodname_dotcom_the_website %}, you can edit the tag assigned to the bundled actions.
2117

2218
These options are described in more detail in the following sections.
2319

@@ -30,16 +26,3 @@ To update the bundled actions, you can use the `actions-sync` tool to synchroniz
3026
{% data reusables.github-actions.actions-github-connect-requirement %}
3127

3228
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/setup-python@v2.2.1` in your workflow file.
33-
34-
### Using the latest version by removing the specific action's tag
35-
36-
{% data reusables.github-actions.actions-github-connect-requirement %}
37-
38-
If you remove the version tag that was previously assigned to an action, {% data variables.product.prodname_ghe_server %} will check {% data variables.product.prodname_dotcom_the_website %} for the required tag. For more information on working with tags, see "[Viewing tags](/github/administering-a-repository/viewing-your-repositorys-releases-and-tags#viewing-tags)."
39-
40-
For example, to use version `v2.2.1` of `actions/setup-python` from {% data variables.product.prodname_dotcom_the_website %}:
41-
42-
1. In {% data variables.product.prodname_ghe_server %}, delete the `v2` tag from the `actions/setup-python` repository.
43-
1. Create a workflow that uses `actions/setup-python` with the `v2` tag.
44-
45-
When the workflow is unable to find the specified `v2` tag on {% data variables.product.prodname_ghe_server %}, it checks {% data variables.product.prodname_dotcom_the_website %} for the required tag. If it finds a tagged version of that action, {% data variables.product.prodname_ghe_server %} uses the version from {% data variables.product.prodname_dotcom_the_website %}.

0 commit comments

Comments
 (0)