Skip to content

Commit 75c2274

Browse files
Merge branch 'main' into patch-1
2 parents 21df759 + c03eb25 commit 75c2274

File tree

3,774 files changed

+183930
-69124
lines changed

Some content is hidden

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

3,774 files changed

+183930
-69124
lines changed

.devcontainer/devcontainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// Set *default* container specific settings.json values on container create.
2020
"settings": {
2121
"terminal.integrated.shell.linux": "/bin/bash",
22-
"cSpell.language": ",en"
22+
"cSpell.language": ",en",
23+
"git.autofetch": true
2324
},
2425
// Visual Studio Code extensions which help authoring for docs.github.com.
2526
"extensions": [

.github/PULL_REQUEST_TEMPLATE.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Thank you for contributing to this project! You must fill out the information be
44

55
### Why:
66

7-
Closes:
7+
<!-- Paste the issue link or number here -->
8+
Closes:
89

910
<!-- If there's an existing issue for your change, please link to it above.
1011
If there's _not_ an existing issue, please open one first to make it more likely that this update will be accepted: https://github.com/github/docs/issues/new/choose. -->
@@ -16,6 +17,6 @@ If you made changes to the `content` directory, a table will populate in a comme
1617

1718
### Check off the following:
1819

19-
- [ ] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require a SME review from GitHub staff.
20+
- [ ] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
2021
- [ ] The changes in this PR meet [the docs fundamentals that are required for all content](http://docs.github.com/en/contributing/writing-for-github-docs/about-githubs-documentation-fundamentals).
21-
- [ ] All CI checks are passing.
22+
- [ ] All CI checks are passing and the changes look good in the preview environment.

.github/actions/cache-nextjs/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
using: 'composite'
99
steps:
1010
- name: Cache .next/cache
11-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
11+
uses: actions/cache@v4
1212
with:
1313
path: ${{ github.workspace }}/.next/cache
1414
# Generate a new cache whenever packages or source files change.

.github/actions/node-npm-setup/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
using: 'composite'
77
steps:
88
- name: Cache node_modules
9-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
9+
uses: actions/cache@v4
1010
id: cache-node_modules
1111
env:
1212
# Default is 10 min, per segment, but we can make it much smaller

.github/actions/precompute-pageinfo/action.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@ runs:
1717
# Optionally, you can have it just do A (and not B and C).
1818

1919
- name: Cache .pageinfo-cache.json.br (restore)
20-
# You can't use a SHA on these. Only possible with `actions/cache@SHA...`
21-
uses: actions/cache/restore@v3
20+
uses: actions/cache/restore@v4
2221
with:
2322
path: .pageinfo-cache.json.br
2423
key: pageinfo-cache-
2524
restore-keys: pageinfo-cache-
2625

27-
# When we use this composite action from the workflows like
28-
# Azure Preview Deploy and Azure Production Deploy, we don't have
29-
# any Node installed or any of its packages. I.e. we never
26+
# When we use this composite action from deployment workflows
27+
# we don't have any Node installed or any of its packages. I.e. we never
3028
# run `npm ci` in those actions. For security sake.
3129
# So we can't do things that require Node code.
3230
# Tests and others will omit the `restore-only` input, but
@@ -40,7 +38,7 @@ runs:
4038

4139
- name: Cache .remotejson-cache (save)
4240
if: ${{ inputs.restore-only == '' }}
43-
uses: actions/cache/save@v3
41+
uses: actions/cache/save@v4
4442
with:
4543
path: .pageinfo-cache.json.br
4644
key: pageinfo-cache-${{ github.sha }}

.github/actions/setup-elasticsearch/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
# Cache the elasticsearch image to prevent Docker Hub rate limiting
2020
- name: Cache Docker layers
2121
id: cache-docker-layers
22-
uses: actions/cache@v2
22+
uses: actions/cache@v4
2323
with:
2424
path: /tmp/docker-cache
2525
key: ${{ runner.os }}-elasticsearch-${{ inputs.elasticsearch_version }}

.github/actions/warmup-remotejson-cache/action.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ runs:
1414
# You "wrap" the step that appends to disk and it will possibly retrieve
1515
# some from the cache, then save it when it's got more in it.
1616
- name: Cache .remotejson-cache (restore)
17-
# You can't use a SHA on these. Only possible with `actions/cache@SHA...`
18-
uses: actions/cache/restore@v3
17+
uses: actions/cache/restore@v4
1918
with:
2019
path: .remotejson-cache
2120
key: remotejson-cache-
2221
restore-keys: remotejson-cache-
2322

24-
# When we use this composite action from the workflows like
25-
# Azure Preview Deploy and Azure Production Deploy, we don't have
26-
# any Node installed or any of its packages. I.e. we never
23+
# When we use this composite action from deployment workflows
24+
# we don't have any Node installed or any of its packages. I.e. we never
2725
# run `npm ci` in those actions. For security sake.
2826
# So we can't do things that require Node code.
2927
# Tests and others will omit the `restore-only` input, but
@@ -37,7 +35,7 @@ runs:
3735

3836
- name: Cache .remotejson-cache (save)
3937
if: ${{ inputs.restore-only == '' }}
40-
uses: actions/cache/save@v3
38+
uses: actions/cache/save@v4
4139
with:
4240
path: .remotejson-cache
4341
key: remotejson-cache-${{ github.sha }}

.github/branch_protection_settings/main.json

+17-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks",
55
"strict": true,
66
"contexts": [
7-
"Build and deploy Azure preview environment",
87
"automated-pipelines",
98
"github-apps",
109
"graphql",
@@ -41,14 +40,13 @@
4140
"workflows",
4241
"lint-code",
4342
"secret-scanning",
44-
"pagelist"
43+
"pagelist",
44+
"docs-internal-docker-image / docs-internal-docker-image",
45+
"docs-internal-docker-security / docs-internal-docker-security",
46+
"docs-internal-moda-config-bundle / docs-internal-moda-config-bundle"
4547
],
4648
"contexts_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks/contexts",
4749
"checks": [
48-
{
49-
"context": "Build and deploy Azure preview environment",
50-
"app_id": 15368
51-
},
5250
{ "context": "automated-pipelines", "app_id": 15368 },
5351
{ "context": "github-apps", "app_id": 15368 },
5452
{ "context": "graphql", "app_id": 15368 },
@@ -85,7 +83,19 @@
8583
{ "context": "workflows", "app_id": 15368 },
8684
{ "context": "lint-code", "app_id": 15368 },
8785
{ "context": "secret-scanning", "app_id": 15368 },
88-
{ "context": "pagelist", "app_id": 15368 }
86+
{ "context": "pagelist", "app_id": 15368 },
87+
{
88+
"context": "docs-internal-docker-image / docs-internal-docker-image",
89+
"app_id": 15368
90+
},
91+
{
92+
"context": "docs-internal-docker-security / docs-internal-docker-security",
93+
"app_id": 15368
94+
},
95+
{
96+
"context": "docs-internal-moda-config-bundle / docs-internal-moda-config-bundle",
97+
"app_id": 15368
98+
}
8999
]
90100
},
91101
"restrictions": {

.github/dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
version: 2
2+
registries:
3+
ghcr: # Define access for a private registry
4+
type: docker-registry
5+
url: ghcr.io
6+
username: PAT
7+
password: ${{secrets.CONTAINER_BUILDER_TOKEN}}
28
updates:
39
- package-ecosystem: npm
410
directory: '/'
@@ -23,11 +29,18 @@ updates:
2329
- dependency-name: '*'
2430
update-types:
2531
['version-update:semver-patch', 'version-update:semver-minor']
32+
- dependency-name: 'github/internal-actions'
2633

2734
- package-ecosystem: 'docker'
35+
registries:
36+
- ghcr
2837
directory: '/'
2938
schedule:
3039
interval: weekly
3140
day: thursday
41+
groups:
42+
baseImages:
43+
patterns:
44+
- '*'
3245
ignore:
3346
- dependency-name: 'node'

.github/workflows/alert-changed-branch-protections.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branch_protection_rule:
55
workflow_dispatch:
66
schedule:
7-
- cron: '20 16 * * 3' # Run every Wednesday at 16:30 UTC / 8:30 PST
7+
- cron: '20 16 * * 3' # Run every Wednesday at 16:20 UTC / 8:20 PST
88

99
permissions:
1010
contents: read

.github/workflows/azure-preview-env-deploy-public.yml

-171
This file was deleted.

0 commit comments

Comments
 (0)