Skip to content

Commit 19fc4b2

Browse files
authored
Merge branch 'main' into improve-accessibility
2 parents adc9954 + 1f635f3 commit 19fc4b2

22 files changed

Lines changed: 168 additions & 23 deletions

content/actions/learn-github-actions/managing-complex-workflows.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ For more information, see ["Using labels with self-hosted runners](/actions/hos
154154
You can configure environments with protection rules and secrets. Each job in a workflow can reference a single environment. Any protection rules configured for the environment must pass before a job referencing the environment is sent to a runner. For more information, see "[Environments](/actions/reference/environments)."
155155
{% endif %}
156156

157+
### Using a workflow template
158+
159+
{% data reusables.actions.workflow-template-overview %}
160+
161+
{% data reusables.repositories.navigate-to-repo %}
162+
{% data reusables.repositories.actions-tab %}
163+
1. If your repository already has existing workflows: In the upper-left corner, click **New workflow**.
164+
![Create a new workflow](/assets/images/help/repository/actions-new-workflow.png)
165+
1. Under the name of the template you'd like to use, click **Set up this workflow**.
166+
![Set up this workflow](/assets/images/help/settings/actions-create-starter-workflow.png)
167+
157168
### Next steps
158169

159170
To continue learning about {% data variables.product.prodname_actions %}, see "[Sharing workflows with your organization](/actions/learn-github-actions/sharing-workflows-with-your-organization)."

content/actions/learn-github-actions/sharing-workflows-with-your-organization.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ This procedure demonstrates how to create a workflow template and metadata file.
3232

3333
```yaml
3434
name: Octo Organization CI
35-
35+
3636
on:
3737
push:
3838
branches: [ $default-branch ]
3939
pull_request:
4040
branches: [ $default-branch ]
41-
41+
4242
jobs:
4343
build:
4444
runs-on: ubuntu-latest
45-
45+
4646
steps:
47-
- uses: actions/checkout@v2
48-
49-
- name: Run a one-line script
50-
run: echo Hello from Octo Organization
47+
- uses: actions/checkout@v2
48+
49+
- name: Run a one-line script
50+
run: echo Hello from Octo Organization
5151
```
5252
1. Create a metadata file inside the `workflow-templates` directory. The metadata file must have the same name as the workflow file, but instead of the `.yml` extension, it must be appended with `.properties.json`. For example, this file named `octo-organization-ci.properties.json` contains the metadata for a workflow file named `octo-organization-ci.yml`:
5353
```yaml
@@ -75,7 +75,7 @@ To add another workflow template, add your files to the same `workflow-templates
7575

7676
![Workflow template files](/assets/images/help/images/workflow-template-files.png)
7777

78-
### Using a workflow template
78+
### Using a workflow template from your organization
7979

8080
This procedure demonstrates how a member of your organization can find and use a workflow template to create a new workflow. An organization's workflow templates can be used by anyone who is a member of the organization.
8181

content/actions/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Committing the workflow file in your repository triggers the `push` event and ru
6969
{% endif %}
7070
{% data reusables.repositories.view-failed-job-results-superlinter %}
7171
72-
### More starter workflows
72+
### More workflow templates
7373
74-
{% data variables.product.prodname_dotcom %} provides preconfigured workflow templates that you can start from to automate or create a continuous integration workflows. You can browse the full list of workflow templates in the {% if currentVersion == "free-pro-team@latest" %}[actions/starter-workflows](https://github.com/actions/starter-workflows) repository{% else %} `actions/starter-workflows` repository on {% data variables.product.product_location %}{% endif %}.
74+
{% data reusables.actions.workflow-template-overview %}
7575
7676
### Next steps
7777
@@ -134,9 +134,9 @@ Printing "Hello, World!" is a great way to explore the basic set up and syntax o
134134
1. In the workflow logs, expand the 'Run echo "Hello World!"' section.
135135
![Workflow detail](/assets/images/help/repository/workflow-log-listing.png)
136136
137-
### More starter workflows
137+
### More workflow templates
138138
139-
{% data variables.product.prodname_dotcom %} provides preconfigured workflow templates that you can start from to automate or create a continuous integration workflows. You can browse the full list of workflow templates in the {% if currentVersion == "free-pro-team@latest" %}[actions/starter-workflows](https://github.com/actions/starter-workflows) repository{% else %} `actions/starter-workflows` repository on {% data variables.product.product_location %}{% endif %}.
139+
{% data reusables.actions.workflow-template-overview %}
140140
141141
### Next steps
142142

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ You can override the default shell settings in the runner's operating system usi
646646
| All | `python` | Executes the python command. | `python {0}` |
647647
| Linux / macOS | `sh` | The fallback behavior for non-Windows platforms if no shell is provided and `bash` is not found in the path. | `sh -e {0}` |
648648
| Windows | `cmd` | {% data variables.product.prodname_dotcom %} appends the extension `.cmd` to your script name and substitutes for `{0}`. | `%ComSpec% /D /E:ON /V:OFF /S /C "CALL "{0}""`. |
649-
| Windows | `powershell` | This is the default shell used on Windows. The Desktop PowerShell. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. | `powershell -command ". '{0}'"`. |
649+
| Windows | `pwsh` | This is the default shell used on Windows. The PowerShell Core. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. If your self-hosted Windows runner does not have _PowerShell Core_ installed, then _PowerShell Desktop_ is used instead.| `pwsh -command ". '{0}'"`. |
650+
| Windows | `powershell` | The PowerShell Desktop. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. | `powershell -command ". '{0}'"`. |
650651

651652
#### Example running a script using bash
652653

@@ -675,6 +676,15 @@ steps:
675676
shell: pwsh
676677
```
677678

679+
#### Example: Using PowerShell Desktop to run a script
680+
681+
```yaml
682+
steps:
683+
- name: Display the path
684+
run: echo ${env:PATH}
685+
shell: powershell
686+
```
687+
678688
#### Example running a python script
679689

680690
```yaml

content/admin/configuration/configuring-an-outbound-web-proxy-server.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ When a proxy server is enabled for {% data variables.product.product_location %}
2121
{% data reusables.enterprise_management_console.privacy %}
2222
4. Under **HTTP Proxy Server**, type the URL of your proxy server.
2323
![Field to type the HTTP Proxy Server URL](/assets/images/enterprise/management-console/http-proxy-field.png)
24-
5. Optionally, under **HTTP Proxy Exclusion**, type any hosts that do not require proxy access, separating hosts with commas.
24+
25+
5. Optionally, under **HTTP Proxy Exclusion**, type any hosts that do not require proxy access, separating hosts with commas. To exclude all hosts in a domain from requiring proxy access, you can use `.` as a wildcard prefix. For example: `.octo-org.tentacle`
2526
![Field to type any HTTP Proxy Exclusions](/assets/images/enterprise/management-console/http-proxy-exclusion-field.png)
27+
2628
{% data reusables.enterprise_management_console.save-settings %}

content/developers/apps/authorizing-oauth-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Name | Type | Description
214214

215215
#### Rate limits for the device flow
216216

217-
When a user submits the verification code on the browser, there is a there is a rate limit of 50 submissions in an hour per application.
217+
When a user submits the verification code on the browser, there is a rate limit of 50 submissions in an hour per application.
218218

219219
If you make more than one access token request (`POST {% data variables.product.oauth_host_code %}/login/oauth/access_token`) within the required minimum timeframe between requests (or `interval`), you'll hit the rate limit and receive a `slow_down` error response. The `slow_down` error response adds 5 seconds to the last `interval`. For more information, see the [Errors for the device flow](#errors-for-the-device-flow).
220220

content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ When you search by a family license, your results will include all licenses in t
7474

7575
### Detecting a license
7676

77-
[The open source Ruby gem Licensee](https://github.com/benbalter/licensee) compares the repository's *LICENSE* file to a short list of known licenses. Licensee also provides the [Licenses API](/rest/reference/licenses) and [gives us insight into how repositories on {% data variables.product.product_name %} are licensed](https://github.com/blog/1964-open-source-license-usage-on-github-com). If your repository is using a license that isn't listed on the [Choose a License website](http://choosealicense.com/appendix/), you can [request including the license](https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-a-license).
77+
[The open source Ruby gem Licensee](https://github.com/licensee/licensee) compares the repository's *LICENSE* file to a short list of known licenses. Licensee also provides the [Licenses API](/rest/reference/licenses) and [gives us insight into how repositories on {% data variables.product.product_name %} are licensed](https://github.com/blog/1964-open-source-license-usage-on-github-com). If your repository is using a license that isn't listed on the [Choose a License website](http://choosealicense.com/appendix/), you can [request including the license](https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-a-license).
7878

7979
If your repository is using a license that is listed on the Choose a License website and it's not displaying clearly at the top of the repository page, it may contain multiple licenses or other complexity. To have your license detected, simplify your *LICENSE* file and note the complexity somewhere else, such as your repository's *README* file.
8080

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% data variables.product.prodname_dotcom %} provides preconfigured workflow templates that you can customize to create your own continuous integration workflow. {% data variables.product.product_name %} analyzes your code and shows you CI templates that might be useful for your repository. For example, if your repository contains Node.js code, you'll see suggestions for Node.js projects. You can use workflow templates as a starting place to build your custom workflow or use them as-is.
2+
3+
You can browse the full list of workflow templates in the {% if currentVersion == "free-pro-team@latest" %}[actions/starter-workflows](https://github.com/actions/starter-workflows) repository{% else %} `actions/starter-workflows` repository on {% data variables.product.product_location %}{% endif %}.

0 commit comments

Comments
 (0)