Skip to content

Commit d0da667

Browse files
authored
Merge branch 'main' into main
2 parents 9bc331a + 533ab01 commit d0da667

131 files changed

Lines changed: 3994 additions & 4051 deletions

File tree

Some content is hidden

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

.github/workflows/first-responder-docs-content.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
issue_number: issueNumber
3737
})
3838
const teamMembers = await github.request(
39-
`/orgs/github/teams/docs/members`
39+
`/orgs/github/teams/docs/members?per_page=100`
4040
)
4141
const logins = teamMembers.data.map(member => member.login)
4242
// ignore PRs opened by docs bot accounts

.github/workflows/move-ready-to-merge-issues.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Move and unlabel ready to merge issues
55
# **Who does it impact**: Open source contributors, open-source maintainers.
66

77
on:
8-
pull_request:
8+
pull_request_target:
99
types:
1010
- labeled
1111

.github/workflows/openapi-decorate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ name: OpenAPI generate decorated schema files
77
on:
88
workflow_dispatch:
99
pull_request:
10-
types: [opened]
1110

1211
jobs:
1312
generate-decorated-files:

.github/workflows/triage-pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Triage new pull requests
55
# **Who does it impact**:
66

77
on:
8-
pull_request:
8+
pull_request_target:
99
types:
1010
- reopened
1111
- opened

.github/workflows/triage-stale-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
days-before-pr-stale: 7
2222
days-before-pr-close: 3
2323
stale-pr-label: 'stale'
24-
exempt-pr-labels: 'waiting for review'
24+
exempt-pr-labels: 'waiting for review,never-stale'
2525
stale_staff:
2626
if: github.repository == 'github/docs'
2727
runs-on: ubuntu-latest
@@ -40,3 +40,4 @@ jobs:
4040
# a comment being posted every 14 days as an infinite loop, which is what
4141
# we want
4242
stale-pr-label: 'waiting for review'
43+
exempt-pr-labels: 'never-stale'

.pa11yci

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@
1313
"http://localhost:4001/en/actions",
1414
"http://localhost:4001/en/github/authenticating-to-github/creating-a-personal-access-token",
1515
"http://localhost:4001/en/github/authenticating-to-github/checking-for-existing-ssh-keys",
16-
"http://localhost:4001/en/github/using-git/changing-a-remotes-url",
16+
"http://localhost:4001/en/github/getting-started-with-github/managing-remote-repositories",
1717
"http://localhost:4001/en/github/getting-started-with-github/set-up-git",
1818
"http://localhost:4001/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository",
1919
"http://localhost:4001/en/github/writing-on-github/basic-writing-and-formatting-syntax",
2020
"http://localhost:4001/en/actions/reference/workflow-syntax-for-github-actions",
21-
"http://localhost:4001/en/github/using-git/which-remote-url-should-i-use",
21+
"http://localhost:4001/en/github/getting-started-with-github/about-remote-repositories",
2222
"http://localhost:4001/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-using-the-command-line",
23-
"http://localhost:4001/en/github/using-git/setting-your-username-in-git",
23+
"http://localhost:4001/en/github/getting-started-with-github/setting-your-username-in-git",
2424
"http://localhost:4001/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address",
2525
"http://localhost:4001/en/github/authenticating-to-github/configuring-two-factor-authentication",
26-
"http://localhost:4001/en/github/using-git/adding-a-remote",
2726
"http://localhost:4001/en/rest",
2827
"http://localhost:4001/en/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site",
2928
"http://localhost:4001/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests",
@@ -55,7 +54,7 @@
5554
"http://localhost:4001/en/actions/getting-started-with-github-actions",
5655
"http://localhost:4001/en/actions/reference/events-that-trigger-workflows",
5756
"http://localhost:4001/en/desktop/getting-started-with-github-desktop/installing-github-desktop",
58-
"http://localhost:4001/en/github/using-git/ignoring-files",
57+
"http://localhost:4001/en/github/getting-started-with-github/ignoring-files",
5958
"http://localhost:4001/en/desktop",
6059
"http://localhost:4001/en/packages",
6160
"http://localhost:4001/en/actions/configuring-and-managing-workflows/configuring-a-workflow",
@@ -71,7 +70,7 @@
7170
"http://localhost:4001/en/actions/reference/context-and-expression-syntax-for-github-actions",
7271
"http://localhost:4001/en/github/managing-files-in-a-repository/navigating-code-on-github",
7372
"http://localhost:4001/en/github/teaching-and-learning-with-github-education/applying-for-a-student-developer-pack",
74-
"http://localhost:4001/en/github/using-git/caching-your-github-credentials-in-git",
73+
"http://localhost:4001/en/github/getting-started-with-github/caching-your-github-credentials-in-git",
7574
"http://localhost:4001/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request",
7675
"http://localhost:4001/en/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository",
7776
"http://localhost:4001/en/github/setting-up-and-managing-your-github-user-account/changing-your-github-username",
@@ -81,7 +80,6 @@
8180
"http://localhost:4001/en/actions/configuring-and-managing-workflows/using-environment-variables",
8281
"http://localhost:4001/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets",
8382
"http://localhost:4001/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository",
84-
"http://localhost:4001/en/github/using-git/removing-a-remote",
8583
"http://localhost:4001/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line",
8684
"http://localhost:4001/en/github/setting-up-and-managing-billing-and-payments-on-github/setting-your-billing-email",
8785
"http://localhost:4001/en/github/setting-up-and-managing-your-github-user-account",
@@ -90,8 +88,8 @@
9088
"http://localhost:4001/en/github/authenticating-to-github/about-two-factor-authentication",
9189
"http://localhost:4001/en/github/working-with-github-pages/about-custom-domains-and-github-pages",
9290
"http://localhost:4001/en/github/searching-for-information-on-github/searching-code",
93-
"http://localhost:4001/en/github/using-git/configuring-git-to-handle-line-endings",
94-
"http://localhost:4001/en/github/using-git/getting-changes-from-a-remote-repository",
91+
"http://localhost:4001/en/github/getting-started-with-github/configuring-git-to-handle-line-endings",
92+
"http://localhost:4001/en/github/getting-started-with-github/getting-changes-from-a-remote-repository",
9593
"http://localhost:4001/en/github/authenticating-to-github/generating-a-new-gpg-key",
9694
"http://localhost:4001/en/github/authenticating-to-github/accessing-github-using-two-factor-authentication",
9795
"http://localhost:4001/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository",

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"formation": {
1313
"web": {
1414
"quantity": 1,
15-
"size": "standard-2x"
15+
"size": "standard-1x"
1616
}
1717
}
1818
}

content/actions/creating-actions/setting-exit-codes-for-actions.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type: 'how_to'
2323
Exit status | Check run status | Description
2424
------------|------------------|------------
2525
`0` | `success` | The action completed successfully and other tasks that depends on it can begin.
26-
Nonzero value | `failure` | Any other exit code indicates the action failed. When an action fails, all concurrent actions are canceled and future actions are skipped. The check run and check suite both get a `failure` status.
26+
Nonzero value (any integer but 0)| `failure` | Any other exit code indicates the action failed. When an action fails, all concurrent actions are canceled and future actions are skipped. The check run and check suite both get a `failure` status.
2727

2828
### Setting a failure exit code in a JavaScript action
2929

@@ -43,13 +43,11 @@ For more information, see "[Creating a JavaScript action](/articles/creating-a-j
4343

4444
If you are creating a Docker container action, you can set a failure exit code in your `entrypoint.sh` script. For example:
4545

46-
{% raw %}
4746
```
4847
if <condition> ; then
4948
echo "Game over!"
5049
exit 1
5150
fi
5251
```
53-
{% endraw %}
5452

5553
For more information, see "[Creating a Docker container action](/articles/creating-a-docker-container-action)."

content/actions/guides/building-and-testing-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
source-url: https://nuget.pkg.github.com/<owner>/index.json
247247
env:
248248
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
249-
- run: dotnet build <my project>
249+
- run: dotnet build --configuration Release <my project>
250250
- name: Create the package
251251
run: dotnet pack --configuration Release <my project>
252252
- name: Publish the package to GPR

content/actions/reference/events-that-trigger-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ This event runs in the context of the base of the pull request, rather than in t
600600

601601
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
602602
| --------------------- | -------------- | ------------ | -------------|
603-
| [`pull_request`](/webhooks/event-payloads/#pull_request) | - `assigned`<br/>- `unassigned`<br/>- `labeled`<br/>- `unlabeled`<br/>- `opened`<br/>- `edited`<br/>- `closed`<br/>- `reopened`<br/>- `synchronize`<br/>- `ready_for_review`<br/>- `locked`<br/>- `unlocked` <br/>- `review_requested` <br/>- `review_request_removed` | Last commit on the PR base branch | PR base branch |
603+
| [`pull_request_target`](/webhooks/event-payloads/#pull_request) | - `assigned`<br/>- `unassigned`<br/>- `labeled`<br/>- `unlabeled`<br/>- `opened`<br/>- `edited`<br/>- `closed`<br/>- `reopened`<br/>- `synchronize`<br/>- `ready_for_review`<br/>- `locked`<br/>- `unlocked` <br/>- `review_requested` <br/>- `review_request_removed` | Last commit on the PR base branch | PR base branch |
604604

605605
By default, a workflow only runs when a `pull_request_target`'s activity type is `opened`, `synchronize`, or `reopened`. To trigger workflows for more activity types, use the `types` keyword. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#onevent_nametypes)."
606606

0 commit comments

Comments
 (0)