Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
50c0b2d
Removed duplicate actions reusable folder
sophietheking Feb 25, 2022
c9258a8
Merge branch 'main' into sophie-5758
sophietheking Feb 25, 2022
91f9349
Restoring a deleted organization on GHES (#25663)
lecoursen Feb 28, 2022
4707cd9
Merge branch 'main' into repo-sync
Octomerger Feb 28, 2022
7f898c3
Merge pull request #25709 from github/repo-sync
Octomerger Feb 28, 2022
9c8ab14
Set meta description on homepage (#25546)
rsese Feb 28, 2022
2ade7d8
reactify rest pages (#25005)
rachmari Feb 28, 2022
a297f2c
New translation batch for es (#25712)
docubot Feb 28, 2022
eef7705
throw if no value not found in indented_data_reference (#25711)
peterbe Feb 28, 2022
59388cb
Add About commit branches and tag labels
sophietheking Feb 24, 2022
e91372b
Adding screenshots
sophietheking Feb 24, 2022
9f2dda4
Add screenshot and clarify steps
sophietheking Feb 24, 2022
2707805
Optimize images
invalid-email-address Feb 25, 2022
675092a
Added link to information on tagging
sophietheking Feb 28, 2022
9dc1088
Adding steps to procedural section
sophietheking Feb 28, 2022
547a12c
Added a screenshot and a reusable
sophietheking Feb 28, 2022
409e7f8
Optimize images
invalid-email-address Feb 28, 2022
46a5416
Deleted Commit branch and tag labels page
sophietheking Feb 28, 2022
aa9ee8b
Removed reference to delete page
sophietheking Feb 28, 2022
bb1800a
Update content model to use `people` instead of `customers` (#25714)
ethanpalm Feb 28, 2022
bada144
lower rate limit in production much higher in dev and test (#25688)
peterbe Feb 28, 2022
ec09e7b
New translation batch for pt (#25708)
docubot Feb 28, 2022
dde4ae9
don't bother caching the lib/redirects/.redirects-cache_en_ja.json in…
peterbe Feb 28, 2022
a0844f6
New translation batch for cn (#25713)
docubot Feb 28, 2022
999e95e
New translation batch for ja (#25715)
docubot Feb 28, 2022
eee9933
Replace indented reusables
sophietheking Mar 1, 2022
1c75866
Merge branch 'main' into sophie-5758
sophietheking Mar 1, 2022
ccf02c1
Merge pull request #25657 from github/sophie-5758
sophietheking Mar 1, 2022
3ade48f
Update supported GitHub runners (#24186)
Steve-Glass Mar 1, 2022
6254af4
Merge branch 'main' into repo-sync
Octomerger Mar 1, 2022
80ace67
Merge pull request #25718 from github/repo-sync
Octomerger Mar 1, 2022
d11f852
CodeQL: Update SARIF uploading example (#25702)
RasmusWL Mar 1, 2022
9dff6e5
Update content/pull-requests/committing-changes-to-your-project/creat…
sophietheking Mar 1, 2022
88d5002
Merge branch 'main' into sophie-5306
sophietheking Mar 1, 2022
e81b8b3
Merge pull request #25603 from github/sophie-5306
sophietheking Mar 1, 2022
e69144b
temporarily re-introduct includes/rest_operations_at_current_path.htm…
peterbe Mar 1, 2022
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
Next Next commit
Removed duplicate actions reusable folder
  • Loading branch information
sophietheking committed Feb 25, 2022
commit 50c0b2d0b083b7765bb1d4c97a033a8eb705a4bc
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ This workflow performs the following steps:

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.

{% data reusables.github-actions.example-github-runner %}
{% data reusables.actions.example-github-runner %}

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

## Building and testing your code

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ This workflow performs the following steps:

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.

{% data reusables.github-actions.example-github-runner %}
{% data reusables.actions.example-github-runner %}

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

## Building and testing your code

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ This workflow performs the following steps:

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.

{% data reusables.github-actions.example-github-runner %}
{% data reusables.actions.example-github-runner %}

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

## Building and testing your code

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
```
{% endraw %}

{% data reusables.github-actions.example-github-runner %}
{% data reusables.actions.example-github-runner %}

## Specifying the Node.js version

Expand Down Expand Up @@ -204,7 +204,7 @@ steps:

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

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

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)."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For a full list of available Xamarin SDK versions on the {% data variables.produ
* [macOS 10.15](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xamarin-bundles)
* [macOS 11](https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xamarin-bundles)

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

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions content/actions/creating-actions/about-custom-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ Docker containers package the environment with the {% data variables.product.pro

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.

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

### JavaScript actions

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.

{% data reusables.github-actions.pure-javascript %}
{% data reusables.actions.pure-javascript %}

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In this guide, you'll learn about the basic components needed to create and use

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

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

## Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ In this guide, you'll learn about the basic components needed to create and use

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

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

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

## Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ This guide uses the {% data variables.product.prodname_actions %} Toolkit Node.j

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

{% data reusables.github-actions.pure-javascript %}
{% data reusables.actions.pure-javascript %}

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

## Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ If you define `args` in the action's metadata file, `args` will override the `CM

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

{% data reusables.github-actions.dockerfile-guidelines %}
{% data reusables.actions.dockerfile-guidelines %}

## Supported Linux capabilities

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ For more information, see "[`github context`](/actions/reference/context-and-exp

**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.

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

**Example: Using contexts**

Expand Down Expand Up @@ -441,7 +441,7 @@ runs:

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:

{% data reusables.github-actions.dockerfile-guidelines %}
{% data reusables.actions.dockerfile-guidelines %}

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ Secrets stored in an environment are only available to workflow jobs that refere

## Creating an environment

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

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

## Deleting an environment

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

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.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ type: overview

## About self-hosted runners

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

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

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.
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.

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

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)."

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

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

{% data reusables.github-actions.usage-workflow-run-time %}
{% data reusables.actions.usage-workflow-run-time %}
- **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.
{% data reusables.github-actions.usage-api-requests %}
- **Job matrix** - {% data reusables.github-actions.usage-matrix-limits %}
{% data reusables.github-actions.usage-workflow-queue-limits %}
{% data reusables.actions.usage-api-requests %}
- **Job matrix** - {% data reusables.actions.usage-matrix-limits %}
{% data reusables.actions.usage-workflow-queue-limits %}

## Workflow continuity for self-hosted runners

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

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

Expand Down Expand Up @@ -224,7 +224,7 @@ codeload.github.com

{% ifversion fpt or ghec %}

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

{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ For information on supported operating systems for self-hosted runners, or using
{% ifversion not ghae %}
{% warning %}

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

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)."

Expand All @@ -40,18 +40,18 @@ You can add self-hosted runners to a single repository. To add a self-hosted run
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
{% data reusables.github-actions.settings-sidebar-actions %}
{% data reusables.github-actions.settings-sidebar-actions-runners-updated %}
{% data reusables.actions.settings-sidebar-actions %}
{% data reusables.actions.settings-sidebar-actions-runners-updated %}
1. Click **New self-hosted runner**.
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% elsif ghae or ghes < 3.4 %}
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
{% data reusables.github-actions.settings-sidebar-actions-runners %}
{% data reusables.actions.settings-sidebar-actions-runners %}
1. Under {% ifversion ghes > 3.1 or ghae or ghec %}"Runners"{% else %}"Self-hosted runners"{% endif %}, click **Add runner**.
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% endif %}
{% data reusables.github-actions.self-hosted-runner-check-installation-success %}
{% data reusables.actions.self-hosted-runner-check-installation-success %}

## Adding a self-hosted runner to an organization

Expand All @@ -60,21 +60,21 @@ You can add self-hosted runners at the organization level, where they can be use
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
{% data reusables.organizations.navigate-to-org %}
{% data reusables.organizations.org_settings %}
{% data reusables.github-actions.settings-sidebar-actions %}
{% data reusables.github-actions.settings-sidebar-actions-runners-updated %}
{% data reusables.actions.settings-sidebar-actions %}
{% data reusables.actions.settings-sidebar-actions-runners-updated %}
1. Click **New runner**.
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% elsif ghae or ghes < 3.4 %}
{% data reusables.organizations.navigate-to-org %}
{% data reusables.organizations.org_settings %}
{% data reusables.github-actions.settings-sidebar-actions-runners %}
{% data reusables.actions.settings-sidebar-actions-runners %}
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 %}
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% endif %}

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

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

## Adding a self-hosted runner to an enterprise

Expand All @@ -92,19 +92,19 @@ To add a self-hosted runner to an enterprise account, you must be an enterprise
{% data reusables.enterprise-accounts.actions-tab %}
{% data reusables.enterprise-accounts.actions-runners-tab %}
1. Click **New runner**.
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% elsif ghae or ghes < 3.4 %}
To add a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator.
{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.enterprise-accounts.policies-tab %}
{% data reusables.enterprise-accounts.actions-tab %}
{% data reusables.enterprise-accounts.actions-runners-tab %}
1. Click **Add new**, then click **New runner**.
{% data reusables.github-actions.self-hosted-runner-configure %}
{% data reusables.actions.self-hosted-runner-configure %}
{% endif %}
{% data reusables.github-actions.self-hosted-runner-check-installation-success %}
{% data reusables.actions.self-hosted-runner-check-installation-success %}

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

### Making enterprise runners available to repositories

Expand Down
Loading