Skip to content

Commit 43ffdad

Browse files
heiskrCopilot
andauthored
Update redirected internal links in actions (how-tos (part 1)) (#62138)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d78af01 commit 43ffdad

35 files changed

Lines changed: 145 additions & 145 deletions

content/actions/how-tos/create-and-publish-actions/create-a-cli-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This article will demonstrate how to write an action that retrieves a specific v
3131

3232
## Prerequisites
3333

34-
You should have an understanding of how to write a custom action. For more information, see [AUTOTITLE](/actions/how-tos/creating-and-publishing-actions/managing-custom-actions).
34+
You should have an understanding of how to write a custom action. For more information, see [AUTOTITLE](/actions/how-tos/create-and-publish-actions/manage-custom-actions).
3535

3636
## Example
3737

@@ -64,7 +64,7 @@ module.exports = setup
6464

6565
{% endraw %}
6666

67-
To use this script, replace `getDownloadURL` with a function that downloads your CLI. You will also need to create an actions metadata file (`action.yml`) that accepts a `version` input and that runs this script. For full details about how to create an action, see [AUTOTITLE](/actions/creating-actions/creating-a-javascript-action).
67+
To use this script, replace `getDownloadURL` with a function that downloads your CLI. You will also need to create an actions metadata file (`action.yml`) that accepts a `version` input and that runs this script. For full details about how to create an action, see [AUTOTITLE](/actions/tutorials/create-actions/create-a-javascript-action).
6868

6969
## Further reading
7070

content/actions/how-tos/create-and-publish-actions/manage-custom-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Many people access {% data variables.product.github %} at a domain other than {%
3232

3333
To ensure that your action is compatible with other platforms, do not use any hard-coded references to API URLs such as `https://api.github.com`. Instead, you can:
3434

35-
* Use environment variables (see [AUTOTITLE](/actions/reference/variables-reference#default-environment-variables)):
35+
* Use environment variables (see [AUTOTITLE](/actions/reference/workflows-and-actions/variables#default-environment-variables)):
3636

3737
* For the REST API, use the `GITHUB_API_URL` environment variable.
3838
* For GraphQL, use the `GITHUB_GRAPHQL_URL` environment variable.

content/actions/how-tos/create-and-publish-actions/publish-in-github-marketplace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ contentType: how-tos
2323
>[!NOTE]
2424
> You must accept the terms of service to publish actions in {% data variables.product.prodname_marketplace %}.
2525
26-
Before you can publish an action, you'll need to create an action in your repository. For more information, see [AUTOTITLE](/actions/creating-actions).
26+
Before you can publish an action, you'll need to create an action in your repository. For more information, see [AUTOTITLE](/actions/how-tos/reuse-automations).
2727

2828
When you plan to publish your action to {% data variables.product.prodname_marketplace %}, you'll need to ensure that the repository only includes the metadata file, code, and files necessary for the action. Creating a single repository for the action allows you to tag, release, and package the code in a single unit. {% data variables.product.prodname_dotcom %} also uses the action's metadata on your {% data variables.product.prodname_marketplace %} page.
2929

content/actions/how-tos/create-and-publish-actions/release-and-maintain-actions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ Here is an example process that you can follow to automatically run tests, creat
7070

7171
* When a pull request is opened, either from a branch or a fork, your testing workflow will again run the tests, this time with the merge commit.
7272

73-
* **Note:** for security reasons, workflows triggered by `pull_request` from forks have restricted `GITHUB_TOKEN` permissions and do not have access to secrets. If your tests or other workflows triggered upon pull request require access to secrets, consider using a different event like a [manual trigger](/actions/using-workflows/events-that-trigger-workflows#manual-events) or a [`pull_request_target`](/actions/using-workflows/events-that-trigger-workflows#pull_request_target). For more information, see [AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#pull-request-events-for-forked-repositories).
73+
* **Note:** for security reasons, workflows triggered by `pull_request` from forks have restricted `GITHUB_TOKEN` permissions and do not have access to secrets. If your tests or other workflows triggered upon pull request require access to secrets, consider using a different event like a [manual trigger](/actions/reference/workflows-and-actions/events-that-trigger-workflows#manual-events) or a [`pull_request_target`](/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target). For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull-request-events-for-forked-repositories).
7474

75-
1. Create a semantically tagged release. {% ifversion fpt or ghec %} You may also publish to {% data variables.product.prodname_marketplace %} with a simple checkbox. {% endif %} For more information, see [AUTOTITLE](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release){% ifversion fpt or ghec %} and [AUTOTITLE](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action){% endif %}.
75+
1. Create a semantically tagged release. {% ifversion fpt or ghec %} You may also publish to {% data variables.product.prodname_marketplace %} with a simple checkbox. {% endif %} For more information, see [AUTOTITLE](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release){% ifversion fpt or ghec %} and [AUTOTITLE](/actions/how-tos/create-and-publish-actions/publish-in-github-marketplace#publishing-an-action){% endif %}.
7676

7777
* When a release is published or edited, your release workflow will automatically take care of compilation and adjusting tags.
7878

@@ -89,10 +89,10 @@ Using semantic releases means that the users of your actions can pin their workf
8989
{% data variables.product.github %} provides tools and guides to help you work with the open source community. Here are a few tools we recommend setting up for healthy bidirectional communication. By providing the following signals to the community, you encourage others to use, modify, and contribute to your action:
9090

9191
* Maintain a `README` with plenty of usage examples and guidance. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes).
92-
* Include a workflow status badge in your `README` file. For more information, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge). Also visit [shields.io](https://shields.io/) to learn about other badges that you can add.{% ifversion fpt or ghec %}
92+
* Include a workflow status badge in your `README` file. For more information, see [AUTOTITLE](/actions/how-tos/monitor-workflows/add-a-status-badge). Also visit [shields.io](https://shields.io/) to learn about other badges that you can add.{% ifversion fpt or ghec %}
9393
* Add community health files like `CODE_OF_CONDUCT`, `CONTRIBUTING`, and `SECURITY`. For more information, see [AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#supported-file-types).{% endif %}
9494
* Keep issues current by utilizing actions like [actions/stale](https://github.com/actions/stale).{% ifversion fpt or ghec %}
95-
* Use {% data variables.product.github %}'s security features to communicate about vulnerabilities and how to fix them. For more information, see [AUTOTITLE](/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions#protecting-actions-youve-created).{% endif %}
95+
* Use {% data variables.product.github %}'s security features to communicate about vulnerabilities and how to fix them. For more information, see [AUTOTITLE](/actions/reference/security/secure-use#protecting-actions-youve-created).{% endif %}
9696

9797
## Further reading
9898

content/actions/how-tos/create-and-publish-actions/set-exit-codes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ try {
4040
}
4141
```
4242

43-
For more information, see [AUTOTITLE](/actions/creating-actions/creating-a-javascript-action).
43+
For more information, see [AUTOTITLE](/actions/tutorials/create-actions/create-a-javascript-action).
4444

4545
## Setting a failure exit code in a Docker container action
4646

@@ -53,4 +53,4 @@ if <condition> ; then
5353
fi
5454
```
5555

56-
For more information, see [AUTOTITLE](/actions/creating-actions/creating-a-docker-container-action).
56+
For more information, see [AUTOTITLE](/actions/tutorials/use-containerized-services/create-a-docker-container-action).

content/actions/how-tos/deploy/configure-and-manage-deployments/configure-custom-protection-rules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ contentType: how-tos
2222

2323
Custom deployment protection rules are powered by {% data variables.product.prodname_github_apps %}. Once a deployment protection rule is configured and installed in a repository, it can be enabled for any environments in the repository.
2424

25-
After you enable a custom deployment protection rule on an environment, every time a workflow step targets that environment, the deployment protection rule will run automatically. For more information about targeting an environment for deployments, see [AUTOTITLE](/actions/deployment/targeting-different-environments/managing-environments-for-deployment).
25+
After you enable a custom deployment protection rule on an environment, every time a workflow step targets that environment, the deployment protection rule will run automatically. For more information about targeting an environment for deployments, see [AUTOTITLE](/actions/how-tos/deploy/configure-and-manage-deployments/manage-environments).
2626

2727
When a custom deployment protection rule is triggered it will wait for up to 30 days for a webhook event response before it times out and the workflow job fails.
2828

29-
For more information about creating your own custom deployment protection rules, see [AUTOTITLE](/actions/deployment/protecting-deployments/creating-custom-deployment-protection-rules).
29+
For more information about creating your own custom deployment protection rules, see [AUTOTITLE](/actions/how-tos/deploy/configure-and-manage-deployments/create-custom-protection-rules).
3030

3131
{% data reusables.actions.custom-deployment-protection-rules-limits %}
3232

@@ -44,7 +44,7 @@ The following is a list of official partner implementations for deployment prote
4444

4545
## Prerequisites
4646

47-
In order for a custom deployment protection rule to be available to all environments in a repository, you must first install the custom deployment protection rule on the repository. For more information, see [AUTOTITLE](/apps/maintaining-github-apps/installing-github-apps).
47+
In order for a custom deployment protection rule to be available to all environments in a repository, you must first install the custom deployment protection rule on the repository. For more information, see [AUTOTITLE](/apps/using-github-apps/installing-your-own-github-app).
4848

4949
After a custom deployment protection rule has been installed in a repository, it must be enabled for each environment where you want the rule to apply.
5050

@@ -57,4 +57,4 @@ After a custom deployment protection rule has been installed in a repository, it
5757
1. Under "Deployment protection rules," check the box next to each custom deployment protection rule you want to enable for the environment.
5858
1. Click **Save protection rules**.
5959

60-
Once a custom deployment protection rule has been enabled for an environment, it will automatically run whenever a workflow reaches a job that references the environment. You can see the results of an approval or rejection for your deployment by reviewing the details of the deployment. For more information, see [AUTOTITLE](/actions/managing-workflow-runs/reviewing-deployments).
60+
Once a custom deployment protection rule has been enabled for an environment, it will automatically run whenever a workflow reaches a job that references the environment. You can see the results of an approval or rejection for your deployment by reviewing the details of the deployment. For more information, see [AUTOTITLE](/actions/how-tos/deploy/configure-and-manage-deployments/review-deployments).

0 commit comments

Comments
 (0)