Skip to content

Commit 50c0b2d

Browse files
committed
Removed duplicate actions reusable folder
1 parent 87a7257 commit 50c0b2d

File tree

196 files changed

+334
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+334
-334
lines changed

content/actions/automating-builds-and-tests/building-and-testing-java-with-ant.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ This workflow performs the following steps:
7878

7979
The default starter workflows are excellent starting points when creating your build and test workflow, and you can customize the starter workflow to suit your project’s needs.
8080

81-
{% data reusables.github-actions.example-github-runner %}
81+
{% data reusables.actions.example-github-runner %}
8282

83-
{% data reusables.github-actions.java-jvm-architecture %}
83+
{% data reusables.actions.java-jvm-architecture %}
8484

8585
## Building and testing your code
8686

content/actions/automating-builds-and-tests/building-and-testing-java-with-gradle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ This workflow performs the following steps:
8383

8484
The default starter workflows are excellent starting points when creating your build and test workflow, and you can customize the starter workflow to suit your project’s needs.
8585

86-
{% data reusables.github-actions.example-github-runner %}
86+
{% data reusables.actions.example-github-runner %}
8787

88-
{% data reusables.github-actions.java-jvm-architecture %}
88+
{% data reusables.actions.java-jvm-architecture %}
8989

9090
## Building and testing your code
9191

content/actions/automating-builds-and-tests/building-and-testing-java-with-maven.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ This workflow performs the following steps:
7878

7979
The default starter workflows are excellent starting points when creating your build and test workflow, and you can customize the starter workflow to suit your project’s needs.
8080

81-
{% data reusables.github-actions.example-github-runner %}
81+
{% data reusables.actions.example-github-runner %}
8282

83-
{% data reusables.github-actions.java-jvm-architecture %}
83+
{% data reusables.actions.java-jvm-architecture %}
8484

8585
## Building and testing your code
8686

content/actions/automating-builds-and-tests/building-and-testing-nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
```
7474
{% endraw %}
7575

76-
{% data reusables.github-actions.example-github-runner %}
76+
{% data reusables.actions.example-github-runner %}
7777

7878
## Specifying the Node.js version
7979

@@ -204,7 +204,7 @@ steps:
204204

205205
### Example using a private registry and creating the .npmrc file
206206

207-
{% data reusables.github-actions.setup-node-intro %}
207+
{% data reusables.actions.setup-node-intro %}
208208

209209
To authenticate to your private registry, you'll need to store your npm authentication token as a secret. For example, create a repository secret called `NPM_TOKEN`. For more information, see "[Creating and using encrypted secrets](/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)."
210210

content/actions/automating-builds-and-tests/building-and-testing-xamarin-applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For a full list of available Xamarin SDK versions on the {% data variables.produ
3131
* [macOS 10.15](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xamarin-bundles)
3232
* [macOS 11](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xamarin-bundles)
3333

34-
{% data reusables.github-actions.macos-runner-preview %}
34+
{% data reusables.actions.macos-runner-preview %}
3535

3636
## Prerequisites
3737

content/actions/creating-actions/about-custom-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ Docker containers package the environment with the {% data variables.product.pro
4747

4848
A Docker container allows you to use specific versions of an operating system, dependencies, tools, and code. For actions that must run in a specific environment configuration, Docker is an ideal option because you can customize the operating system and tools. Because of the latency to build and retrieve the container, Docker container actions are slower than JavaScript actions.
4949

50-
Docker container actions can only execute on runners with a Linux operating system. {% data reusables.github-actions.self-hosted-runner-reqs-docker %}
50+
Docker container actions can only execute on runners with a Linux operating system. {% data reusables.actions.self-hosted-runner-reqs-docker %}
5151

5252
### JavaScript actions
5353

5454
JavaScript actions can run directly on a runner machine, and separate the action code from the environment used to run the code. Using a JavaScript action simplifies the action code and executes faster than a Docker container action.
5555

56-
{% data reusables.github-actions.pure-javascript %}
56+
{% data reusables.actions.pure-javascript %}
5757

5858
If you're developing a Node.js project, the {% data variables.product.prodname_actions %} Toolkit provides packages that you can use in your project to speed up development. For more information, see the [actions/toolkit](https://github.com/actions/toolkit) repository.
5959

content/actions/creating-actions/creating-a-composite-action.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this guide, you'll learn about the basic components needed to create and use
2323

2424
Once you complete this project, you should understand how to build your own composite action and test it in a workflow.
2525

26-
{% data reusables.github-actions.context-injection-warning %}
26+
{% data reusables.actions.context-injection-warning %}
2727

2828
## Prerequisites
2929

content/actions/creating-actions/creating-a-docker-container-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ In this guide, you'll learn about the basic components needed to create and use
2727

2828
Once you complete this project, you should understand how to build your own Docker container action and test it in a workflow.
2929

30-
{% data reusables.github-actions.self-hosted-runner-reqs-docker %}
30+
{% data reusables.actions.self-hosted-runner-reqs-docker %}
3131

32-
{% data reusables.github-actions.context-injection-warning %}
32+
{% data reusables.actions.context-injection-warning %}
3333

3434
## Prerequisites
3535

content/actions/creating-actions/creating-a-javascript-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ This guide uses the {% data variables.product.prodname_actions %} Toolkit Node.j
2929

3030
Once you complete this project, you should understand how to build your own JavaScript action and test it in a workflow.
3131

32-
{% data reusables.github-actions.pure-javascript %}
32+
{% data reusables.actions.pure-javascript %}
3333

34-
{% data reusables.github-actions.context-injection-warning %}
34+
{% data reusables.actions.context-injection-warning %}
3535

3636
## Prerequisites
3737

content/actions/creating-actions/dockerfile-support-for-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ If you define `args` in the action's metadata file, `args` will override the `CM
105105

106106
If you use `CMD` in your `Dockerfile`, follow these guidelines:
107107

108-
{% data reusables.github-actions.dockerfile-guidelines %}
108+
{% data reusables.actions.dockerfile-guidelines %}
109109

110110
## Supported Linux capabilities
111111

content/actions/creating-actions/metadata-syntax-for-github-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ For more information, see "[`github context`](/actions/reference/context-and-exp
272272

273273
**Optional** You can use the `if` conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.
274274

275-
{% data reusables.github-actions.expression-syntax-if %} For more information, see "[Expressions](/actions/learn-github-actions/expressions)."
275+
{% data reusables.actions.expression-syntax-if %} For more information, see "[Expressions](/actions/learn-github-actions/expressions)."
276276

277277
**Example: Using contexts**
278278

@@ -441,7 +441,7 @@ runs:
441441

442442
The `args` are used in place of the `CMD` instruction in a `Dockerfile`. If you use `CMD` in your `Dockerfile`, use the guidelines ordered by preference:
443443

444-
{% data reusables.github-actions.dockerfile-guidelines %}
444+
{% data reusables.actions.dockerfile-guidelines %}
445445

446446
If you need to pass environment variables into an action, make sure your action runs a command shell to perform variable substitution. For example, if your `entrypoint` attribute is set to `"sh -c"`, `args` will be run in a command shell. Alternatively, if your `Dockerfile` uses an `ENTRYPOINT` to run the same command (`"sh -c"`), `args` will execute in a command shell.
447447

content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ Secrets stored in an environment are only available to workflow jobs that refere
6969

7070
## Creating an environment
7171

72-
{% data reusables.github-actions.permissions-statement-environment %}
72+
{% data reusables.actions.permissions-statement-environment %}
7373

7474
{% data reusables.repositories.navigate-to-repo %}
7575
{% data reusables.repositories.sidebar-settings %}
76-
{% data reusables.github-actions.sidebar-environment %}
77-
{% data reusables.github-actions.new-environment %}
78-
{% data reusables.github-actions.name-environment %}
76+
{% data reusables.actions.sidebar-environment %}
77+
{% data reusables.actions.new-environment %}
78+
{% data reusables.actions.name-environment %}
7979
1. Optionally, specify people or teams that must approve workflow jobs that use this environment.
8080
1. Select **Required reviewers**.
8181
1. Enter up to 6 people or teams. Only one of the required reviewers needs to approve the job for it to proceed.
@@ -107,13 +107,13 @@ When a workflow references an environment, the environment will appear in the re
107107

108108
## Deleting an environment
109109

110-
{% data reusables.github-actions.permissions-statement-environment %}
110+
{% data reusables.actions.permissions-statement-environment %}
111111

112112
Deleting an environment will delete all secrets and protection rules associated with the environment. Any jobs currently waiting because of protection rules from the deleted environment will automatically fail.
113113

114114
{% data reusables.repositories.navigate-to-repo %}
115115
{% data reusables.repositories.sidebar-settings %}
116-
{% data reusables.github-actions.sidebar-environment %}
116+
{% data reusables.actions.sidebar-environment %}
117117
1. Next to the environment that you want to delete, click {% octicon "trash" aria-label="The trash icon" %}.
118118
2. Click **I understand, delete this environment**.
119119

content/actions/hosting-your-own-runners/about-self-hosted-runners.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ type: overview
1818

1919
## About self-hosted runners
2020

21-
{% data reusables.github-actions.self-hosted-runner-description %} Self-hosted runners can be physical, virtual, in a container, on-premises, or in a cloud.
21+
{% data reusables.actions.self-hosted-runner-description %} Self-hosted runners can be physical, virtual, in a container, on-premises, or in a cloud.
2222

2323
You can add self-hosted runners at various levels in the management hierarchy:
2424
- Repository-level runners are dedicated to a single repository.
2525
- Organization-level runners can process jobs for multiple repositories in an organization.
2626
- Enterprise-level runners can be assigned to multiple organizations in an enterprise account.
2727

28-
Your runner machine connects to {% data variables.product.product_name %} using the {% data variables.product.prodname_actions %} self-hosted runner application. {% data reusables.github-actions.runner-app-open-source %} When a new version is released, the runner application automatically updates itself when a job is assigned to the runner, or within a week of release if the runner hasn't been assigned any jobs.
28+
Your runner machine connects to {% data variables.product.product_name %} using the {% data variables.product.prodname_actions %} self-hosted runner application. {% data reusables.actions.runner-app-open-source %} When a new version is released, the runner application automatically updates itself when a job is assigned to the runner, or within a week of release if the runner hasn't been assigned any jobs.
2929

30-
{% data reusables.github-actions.self-hosted-runner-auto-removal %}
30+
{% data reusables.actions.self-hosted-runner-auto-removal %}
3131

3232
For more information about installing and using self-hosted runners, see "[Adding self-hosted runners](/github/automating-your-workflow-with-github-actions/adding-self-hosted-runners)" and "[Using self-hosted runners in a workflow](/github/automating-your-workflow-with-github-actions/using-self-hosted-runners-in-a-workflow)."
3333

@@ -70,15 +70,15 @@ You can automatically increase or decrease the number of self-hosted runners in
7070

7171
There are some limits on {% data variables.product.prodname_actions %} usage when using self-hosted runners. These limits are subject to change.
7272

73-
{% data reusables.github-actions.usage-workflow-run-time %}
73+
{% data reusables.actions.usage-workflow-run-time %}
7474
- **Job queue time** - Each job for self-hosted runners can be queued for a maximum of 24 hours. If a self-hosted runner does not start executing the job within this limit, the job is terminated and fails to complete.
75-
{% data reusables.github-actions.usage-api-requests %}
76-
- **Job matrix** - {% data reusables.github-actions.usage-matrix-limits %}
77-
{% data reusables.github-actions.usage-workflow-queue-limits %}
75+
{% data reusables.actions.usage-api-requests %}
76+
- **Job matrix** - {% data reusables.actions.usage-matrix-limits %}
77+
{% data reusables.actions.usage-workflow-queue-limits %}
7878

7979
## Workflow continuity for self-hosted runners
8080

81-
{% data reusables.github-actions.runner-workflow-continuity %}
81+
{% data reusables.actions.runner-workflow-continuity %}
8282

8383
## Supported architectures and operating systems for self-hosted runners
8484

@@ -224,7 +224,7 @@ codeload.github.com
224224

225225
{% ifversion fpt or ghec %}
226226

227-
{% data reusables.github-actions.self-hosted-runner-security %}
227+
{% data reusables.actions.self-hosted-runner-security %}
228228

229229
{% endif %}
230230

content/actions/hosting-your-own-runners/adding-self-hosted-runners.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For information on supported operating systems for self-hosted runners, or using
2626
{% ifversion not ghae %}
2727
{% warning %}
2828

29-
**Warning:** {% data reusables.github-actions.self-hosted-runner-security %}
29+
**Warning:** {% data reusables.actions.self-hosted-runner-security %}
3030

3131
For more information, see "[About self-hosted runners](/github/automating-your-workflow-with-github-actions/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)."
3232

@@ -40,18 +40,18 @@ You can add self-hosted runners to a single repository. To add a self-hosted run
4040
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
4141
{% data reusables.repositories.navigate-to-repo %}
4242
{% data reusables.repositories.sidebar-settings %}
43-
{% data reusables.github-actions.settings-sidebar-actions %}
44-
{% data reusables.github-actions.settings-sidebar-actions-runners-updated %}
43+
{% data reusables.actions.settings-sidebar-actions %}
44+
{% data reusables.actions.settings-sidebar-actions-runners-updated %}
4545
1. Click **New self-hosted runner**.
46-
{% data reusables.github-actions.self-hosted-runner-configure %}
46+
{% data reusables.actions.self-hosted-runner-configure %}
4747
{% elsif ghae or ghes < 3.4 %}
4848
{% data reusables.repositories.navigate-to-repo %}
4949
{% data reusables.repositories.sidebar-settings %}
50-
{% data reusables.github-actions.settings-sidebar-actions-runners %}
50+
{% data reusables.actions.settings-sidebar-actions-runners %}
5151
1. Under {% ifversion ghes > 3.1 or ghae or ghec %}"Runners"{% else %}"Self-hosted runners"{% endif %}, click **Add runner**.
52-
{% data reusables.github-actions.self-hosted-runner-configure %}
52+
{% data reusables.actions.self-hosted-runner-configure %}
5353
{% endif %}
54-
{% data reusables.github-actions.self-hosted-runner-check-installation-success %}
54+
{% data reusables.actions.self-hosted-runner-check-installation-success %}
5555

5656
## Adding a self-hosted runner to an organization
5757

@@ -60,21 +60,21 @@ You can add self-hosted runners at the organization level, where they can be use
6060
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
6161
{% data reusables.organizations.navigate-to-org %}
6262
{% data reusables.organizations.org_settings %}
63-
{% data reusables.github-actions.settings-sidebar-actions %}
64-
{% data reusables.github-actions.settings-sidebar-actions-runners-updated %}
63+
{% data reusables.actions.settings-sidebar-actions %}
64+
{% data reusables.actions.settings-sidebar-actions-runners-updated %}
6565
1. Click **New runner**.
66-
{% data reusables.github-actions.self-hosted-runner-configure %}
66+
{% data reusables.actions.self-hosted-runner-configure %}
6767
{% elsif ghae or ghes < 3.4 %}
6868
{% data reusables.organizations.navigate-to-org %}
6969
{% data reusables.organizations.org_settings %}
70-
{% data reusables.github-actions.settings-sidebar-actions-runners %}
70+
{% data reusables.actions.settings-sidebar-actions-runners %}
7171
1. Under {% ifversion ghes > 3.1 or ghae %}"Runners", click **Add new**, then click **New runner**.{% elsif ghes < 3.2 %}"Self-hosted runners", click **Add runner**."{% endif %}
72-
{% data reusables.github-actions.self-hosted-runner-configure %}
72+
{% data reusables.actions.self-hosted-runner-configure %}
7373
{% endif %}
7474

75-
{% data reusables.github-actions.self-hosted-runner-check-installation-success %}
75+
{% data reusables.actions.self-hosted-runner-check-installation-success %}
7676

77-
{% data reusables.github-actions.self-hosted-runner-public-repo-access %}
77+
{% data reusables.actions.self-hosted-runner-public-repo-access %}
7878

7979
## Adding a self-hosted runner to an enterprise
8080

@@ -92,19 +92,19 @@ To add a self-hosted runner to an enterprise account, you must be an enterprise
9292
{% data reusables.enterprise-accounts.actions-tab %}
9393
{% data reusables.enterprise-accounts.actions-runners-tab %}
9494
1. Click **New runner**.
95-
{% data reusables.github-actions.self-hosted-runner-configure %}
95+
{% data reusables.actions.self-hosted-runner-configure %}
9696
{% elsif ghae or ghes < 3.4 %}
9797
To add a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator.
9898
{% data reusables.enterprise-accounts.access-enterprise %}
9999
{% data reusables.enterprise-accounts.policies-tab %}
100100
{% data reusables.enterprise-accounts.actions-tab %}
101101
{% data reusables.enterprise-accounts.actions-runners-tab %}
102102
1. Click **Add new**, then click **New runner**.
103-
{% data reusables.github-actions.self-hosted-runner-configure %}
103+
{% data reusables.actions.self-hosted-runner-configure %}
104104
{% endif %}
105-
{% data reusables.github-actions.self-hosted-runner-check-installation-success %}
105+
{% data reusables.actions.self-hosted-runner-check-installation-success %}
106106

107-
{% data reusables.github-actions.self-hosted-runner-public-repo-access %}
107+
{% data reusables.actions.self-hosted-runner-public-repo-access %}
108108

109109
### Making enterprise runners available to repositories
110110

0 commit comments

Comments
 (0)