Skip to content

Commit d5d7663

Browse files
authored
Merge branch 'main' into all-contributors/add-jeffmcaffer
2 parents f029d98 + 86a7640 commit d5d7663

File tree

19 files changed

+86
-605
lines changed

19 files changed

+86
-605
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,15 @@
303303
"contributions": [
304304
"doc"
305305
]
306+
},
307+
{
308+
"login": "tjenkinson",
309+
"name": "Tom Jenkinson",
310+
"avatar_url": "https://avatars0.githubusercontent.com/u/3259993?v=4",
311+
"profile": "https://tjenkinson.me",
312+
"contributions": [
313+
"code"
314+
]
306315
}
307316
],
308317
"contributorsPerLine": 7,

.github/allowed-actions.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = [
88
'actions/cache@v2',
99
'actions/checkout@v2',
1010
'actions/github-script@0.9.0',
11+
'actions/github-script@v2.0.0',
1112
'actions/github-script@v2',
1213
'actions/github-script@v3',
1314
'actions/labeler@v2',
@@ -25,8 +26,11 @@ module.exports = [
2526
'pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a',
2627
'peter-evans/create-issue-from-file@v2',
2728
'peter-evans/create-pull-request@v2',
29+
'rachmari/actions-add-new-issue-to-column@v1.1.1',
30+
'rachmari/labeler@v1.0.4',
2831
'repo-sync/github-sync@v2',
2932
'repo-sync/pull-request@v2',
3033
'rtCamp/action-slack-notify@master',
31-
'rtCamp/action-slack-notify@v2.1.0'
32-
]
34+
'rtCamp/action-slack-notify@v2.1.0',
35+
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0'
36+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Merge Dependency Updates
2+
3+
on:
4+
- pull_request
5+
- pull_request_review
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
allowed-actors: dependabot[bot]

.github/workflows/test-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ env:
1111

1212
jobs:
1313
lint:
14-
if: github.repository == 'github/docs-internal'
1514
runs-on: windows-latest
1615
steps:
1716
- name: Check out repo

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
114114
<tr>
115115
<td align="center"><a href="https://github.com/BenJam"><img src="https://avatars2.githubusercontent.com/u/158833?v=4" width="64px;" alt=""/><br /><sub><b>Benjamin Nickolls</b></sub></a><br /><a href="https://github.com/github/docs/commits?author=BenJam" title="Documentation">📖</a></td>
116116
<td align="center"><a href="https://mcaffer.com"><img src="https://avatars2.githubusercontent.com/u/10070956?v=4" width="64px;" alt=""/><br /><sub><b>Jeff McAffer</b></sub></a><br /><a href="https://github.com/github/docs/commits?author=jeffmcaffer" title="Documentation">📖</a></td>
117+
<td align="center"><a href="https://tjenkinson.me"><img src="https://avatars0.githubusercontent.com/u/3259993?v=4" width="64px;" alt=""/><br /><sub><b>Tom Jenkinson</b></sub></a><br /><a href="https://github.com/github/docs/commits?author=tjenkinson" title="Code">💻</a></td>
117118
</tr>
118119
</table>
119120

content/actions/reference/context-and-expression-syntax-for-github-actions.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,24 +84,24 @@ The `github` context contains information about the workflow run and the event t
8484
| Property name | Type | Description |
8585
|---------------|------|-------------|
8686
| `github` | `object` | The top-level context available during any job or step in a workflow. |
87+
| `github.action` | `string` | The name of the action currently running. {% data variables.product.prodname_dotcom %} removes special characters or uses the name `run` when the current step runs a script. If you use the same action more than once in the same job, the name will include a suffix with the sequence number. For example, the first script you run will have the name `run1`, and the second script will be named `run2`. Similarly, the second invocation of `actions/checkout` will be `actionscheckout2`. |
88+
| `github.action_path` | `string` | The path where your action is located. You can use this path to easily access files located in the same repository as your action. This attribute is only supported in composite run steps actions. |
89+
| `github.actor` | `string` | The login of the user that initiated the workflow run. |
90+
| `github.base_ref` | `string` | The `base_ref` or target branch of the pull request in a workflow run. This property is only available when the event that triggers a workflow run is a `pull_request`. |
8791
| `github.event` | `object` | The full event webhook payload. For more information, see "[Events that trigger workflows](/articles/events-that-trigger-workflows/)." You can access individual properties of the event using this context. |
92+
| `github.event_name` | `string` | The name of the event that triggered the workflow run. |
8893
| `github.event_path` | `string` | The path to the full event webhook payload on the runner. |
89-
| `github.workflow` | `string` | The name of the workflow. If the workflow file doesn't specify a `name`, the value of this property is the full path of the workflow file in the repository. |
94+
| `github.head_ref` | `string` | The `head_ref` or source branch of the pull request in a workflow run. This property is only available when the event that triggers a workflow run is a `pull_request`. |
9095
| `github.job` | `string` | The [`job_id`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_id) of the current job. |
91-
| `github.run_id` | `string` | {% data reusables.github-actions.run_id_description %} |
92-
| `github.run_number` | `string` | {% data reusables.github-actions.run_number_description %} |
93-
| `github.actor` | `string` | The login of the user that initiated the workflow run. |
96+
| `github.ref` | `string` | The branch or tag ref that triggered the workflow run. |
9497
| `github.repository` | `string` | The owner and repository name. For example, `Codertocat/Hello-World`. |
9598
| `github.repository_owner` | `string` | The repository owner's name. For example, `Codertocat`. |
96-
| `github.event_name` | `string` | The name of the event that triggered the workflow run. |
99+
| `github.run_id` | `string` | {% data reusables.github-actions.run_id_description %} |
100+
| `github.run_number` | `string` | {% data reusables.github-actions.run_number_description %} |
97101
| `github.sha` | `string` | The commit SHA that triggered the workflow run. |
98-
| `github.ref` | `string` | The branch or tag ref that triggered the workflow run. |
99-
| `github.head_ref` | `string` | The `head_ref` or source branch of the pull request in a workflow run. This property is only available when the event that triggers a workflow run is a `pull_request`. |
100-
| `github.base_ref` | `string` | The `base_ref` or target branch of the pull request in a workflow run. This property is only available when the event that triggers a workflow run is a `pull_request`. |
101102
| `github.token` | `string` | A token to authenticate on behalf of the GitHub App installed on your repository. This is functionally equivalent to the `GITHUB_TOKEN` secret. For more information, see "[Authenticating with the GITHUB_TOKEN](/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token)." |
103+
| `github.workflow` | `string` | The name of the workflow. If the workflow file doesn't specify a `name`, the value of this property is the full path of the workflow file in the repository. |
102104
| `github.workspace` | `string` | The default working directory for steps and the default location of your repository when using the [`checkout`](https://github.com/actions/checkout) action. |
103-
| `github.action` | `string` | The name of the action currently running. {% data variables.product.prodname_dotcom %} removes special characters or uses the name `run` when the current step runs a script. If you use the same action more than once in the same job, the name will include a suffix with the sequence number. For example, the first script you run will have the name `run1`, and the second script will be named `run2`. Similarly, the second invocation of `actions/checkout` will be `actionscheckout2`. |
104-
| `github.action_path` | `string` | The path where your action is located. You can use this path to easily access files located in the same repository as your action. This attribute is only supported in composite run steps actions.
105105

106106
#### **`env` context**
107107

@@ -124,14 +124,14 @@ The `job` context contains information about the currently running job.
124124
| Property name | Type | Description |
125125
|---------------|------|-------------|
126126
| `job` | `object` | This context changes for each job in a workflow run. You can access this context from any step in a job. |
127-
| `job.status` | `string` | The current status of the job. Possible values are `success`, `failure`, or `cancelled`. |
128127
| `job.container` | `object` | Information about the job's container. For more information about containers, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#jobsjob_idcontainer)." |
129-
| `job.container.network` | `string` | The id of the container network. The runner creates the network used by all containers in a job. |
130128
| `job.container.id` | `string` | The id of the container. |
129+
| `job.container.network` | `string` | The id of the container network. The runner creates the network used by all containers in a job. |
131130
| `job.services` | `object` | The service containers created for a job. For more information about service containers, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#jobsjob_idservices)." |
132131
| `job.services.<service id>.id` | `string` | The id of the service container. |
133-
| `job.services.<service id>.ports` | `object` | The exposed ports of the service container. |
134132
| `job.services.<service id>.network` | `string` | The id of the service container network. The runner creates the network used by all containers in a job. |
133+
| `job.services.<service id>.ports` | `object` | The exposed ports of the service container. |
134+
| `job.status` | `string` | The current status of the job. Possible values are `success`, `failure`, or `cancelled`. |
135135

136136
#### **`steps` context**
137137

@@ -141,9 +141,9 @@ The `steps` context contains information about the steps in the current job that
141141
|---------------|------|-------------|
142142
| `steps` | `object` | This context changes for each step in a job. You can access this context from any step in a job. |
143143
| `steps.<step id>.outputs` | `object` | The set of outputs defined for the step. For more information, see "[Metadata syntax for {% data variables.product.prodname_actions %}](/articles/metadata-syntax-for-github-actions#outputs)." |
144-
| `steps.<step id>.outputs.<output name>` | `string` | The value of a specific output. |
145-
| `steps.<step id>.outcome` | `string` | The result of a completed step before [`continue-on-error`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final `conclusion` is `success`. |
146144
| `steps.<step id>.conclusion` | `string` | The result of a completed step after [`continue-on-error`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final `conclusion` is `success`. |
145+
| `steps.<step id>.outcome` | `string` | The result of a completed step before [`continue-on-error`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final `conclusion` is `success`. |
146+
| `steps.<step id>.outputs.<output name>` | `string` | The value of a specific output. |
147147

148148
#### **`runner` context**
149149

@@ -162,9 +162,9 @@ The `needs` context contains outputs from all jobs that are defined as a depende
162162
| Property name | Type | Description |
163163
|---------------|------|-------------|
164164
| `needs.<job id>` | `object` | A single job that the current job depends on. |
165-
| `needs.<job id>.result` | `string` | The result of a job that the current job depends on. Possible values are `success`, `failure`, or `cancelled`. |
166165
| `needs.<job id>.outputs` | `object` | The set of outputs of a job that the current job depends on. |
167166
| `needs.<job id>.outputs.<output name>` | `string` | The value of a specific output for a job that the current job depends on. |
167+
| `needs.<job id>.result` | `string` | The result of a job that the current job depends on. Possible values are `success`, `failure`, or `cancelled`. |
168168

169169
#### Example printing context information to the log file
170170

content/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ You can filter email notifications you receive for pushes to a repository. For m
3535
![Email address textbox](/assets/images/help/settings/email_services_addresses.png)
3636
6. If you operate your own server, you can verify the integrity of emails via the **Secret** token. This token is sent with the email as the `Approved` header. If the `Approved` header matches the token you sent, you can trust that the email is from {% data variables.product.product_name %}.
3737
![Email secret textbox](/assets/images/help/settings/email_services_token.png)
38-
7. Optionally, select **Send from author** to have emails delivered using the committer's email address. Otherwise, emails are sent from {% data variables.notifications.no_reply_address %}.
39-
![Email author checkbox](/assets/images/help/settings/email_services_author.png)
40-
8. Click **Save settings**.
38+
7. Click **Save settings**.
4139
![Save settings button](/assets/images/help/settings/save_notification_settings.png)
4240

4341
### Further reading

content/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ We send security alerts to people with admin permissions in the affected reposit
7777
### Configuring notifications for {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %}
7878

7979
{% if currentVersion == "free-pro-team@latest" %}
80-
By default, you will receive {% data variables.product.prodname_dependabot_alerts %} by email, grouped by the specific vulnerability. You can also choose to receive {% data variables.product.prodname_dependabot_alerts %} in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#github-dependabot-alerts-options)."
80+
By default, you will receive {% data variables.product.prodname_dependabot_alerts %} by email, grouped by the specific vulnerability. You can also choose to receive {% data variables.product.prodname_dependabot_alerts %} in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#github-dependabot-alerts-notification-options)."
8181
{% endif %}
8282

8383
{% if currentVersion != "free-pro-team@latest" and currentVersion ver_gt "enterprise-server@2.21" %}
84-
By default, if your site administrator has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %} by email. You can also choose to receive {% data variables.product.prodname_dependabot_alerts %} in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#github-dependabot-alerts-options)."
84+
By default, if your site administrator has configured email for notifications on your instance, you will receive {% data variables.product.prodname_dependabot_alerts %} by email. You can also choose to receive {% data variables.product.prodname_dependabot_alerts %} in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#github-dependabot-alerts-notification-options)."
8585
{% endif %}
8686

8787
{% if currentVersion != "free-pro-team@latest" and currentVersion == "enterprise-server@2.21" %}
88-
By default, if your site administrator has configured email for notifications on your instance, you will receive security alerts by email. You can also choose to receive security alerts in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#security-alert-options)."
88+
By default, if your site administrator has configured email for notifications on your instance, you will receive security alerts by email. You can also choose to receive security alerts in a weekly email summarizing alerts for up to 10 of your repositories, in your web notifications, or in the {% data variables.product.product_name %} user interface. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#security-alert-notification-options)."
8989
{% endif %}
9090

9191
{% if currentVersion != "free-pro-team@latest" and currentVersion ver_lt "enterprise-server@2.21" %}

0 commit comments

Comments
 (0)