Skip to content

Commit 0d8b261

Browse files
Merge branch 'main' into patch-2
2 parents c4cddaf + fe158ab commit 0d8b261

480 files changed

Lines changed: 14347 additions & 1052766 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/reviewers-docs-engineering.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
${{ github.repository == 'github/docs-internal' &&
4141
!github.event.pull_request.draft &&
4242
!contains(github.event.pull_request.labels.*.name, 'reviewers-docs-engineering') &&
43+
!contains(github.event.pull_request.labels.*.name, 'lockfile-churn-only') &&
4344
github.event.pull_request.head.ref != 'repo-sync' }}
4445
runs-on: ubuntu-latest
4546
env:
@@ -50,7 +51,45 @@ jobs:
5051
- name: Checkout repository
5152
uses: actions/checkout@v6.0.1
5253

54+
# Detect PRs that only changed package-lock.json (no engineering source files).
55+
# These are usually cross-platform `npm install` churn from contributors
56+
# editing content. We comment with reset instructions instead of pulling in
57+
# docs-engineering for review.
58+
- name: Detect lockfile-only churn
59+
id: detect
60+
run: |
61+
changed=$(gh pr diff "$PR" --name-only)
62+
echo "Changed files:"
63+
echo "$changed"
64+
lockfile=$(echo "$changed" | grep -c '^package-lock\.json$' || true)
65+
other_eng=$(echo "$changed" | grep -cE '(\.tsx?$|\.scss$|^src/|^package\.json$|^\.github/|^config/|^\.devcontainer/|Dockerfile)' || true)
66+
if [ "$lockfile" -gt 0 ] && [ "$other_eng" -eq 0 ]; then
67+
echo "lockfile_only=true" >> "$GITHUB_OUTPUT"
68+
else
69+
echo "lockfile_only=false" >> "$GITHUB_OUTPUT"
70+
fi
71+
72+
- name: Comment and label lockfile-only PRs
73+
if: steps.detect.outputs.lockfile_only == 'true'
74+
run: |
75+
cat > /tmp/lockfile-churn-body.md <<'EOF'
76+
_Posted by Copilot on behalf of docs-engineering._
77+
78+
This PR includes `package-lock.json` changes but no engineering files. Please reset the lockfile:
79+
80+
```
81+
git checkout origin/main -- package-lock.json
82+
git commit -m "Reset package-lock.json"
83+
git push
84+
```
85+
86+
If the lockfile change is intentional, remove the `lockfile-churn-only` label and request docs-engineering review.
87+
EOF
88+
gh pr comment "$PR" --body-file /tmp/lockfile-churn-body.md
89+
gh pr edit "$PR" --add-label lockfile-churn-only
90+
5391
- name: Add docs engineering as a reviewer
92+
if: steps.detect.outputs.lockfile_only != 'true'
5493
uses: ./.github/actions/retry-command
5594
with:
5695
command: gh pr edit $PR --add-reviewer github/docs-engineering --add-label reviewers-docs-engineering

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
- audit-logs
4343
- automated-pipelines
4444
# - bookmarklets
45-
- changelogs
4645
# - code-scanning
4746
# - codeql-cli
4847
- color-schemes

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,4 @@ translations/
109109

110110
# Shared local volume (bufo)
111111
.local
112+
docs-ghes-3.14/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# ---------------------------------------------------------------
1111
# To update the sha:
1212
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
13-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260326-105710-g59112a0a7@sha256:ba809251141daf76a02c7c064ae2c3b27a904f2f62b16582f62fe4328267f38f AS base
13+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260501-222137-g8063ecb13@sha256:9c650d5e53cbf6c95951373d197ede7955329ef695f5fc6fb8a1c56a8e3b817f AS base
1414

1515
# Install curl for Node install and determining the early access branch
1616
# Install git for cloning docs-early-access & translations repos

config/moda/configuration/default/env.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ data:
99
RATE_LIMIT_MAX: '21'
1010
# Moda uses a non-default port for sending datadog metrics
1111
DD_DOGSTATSD_PORT: '28125'
12-
# OTel distributed tracing — sends spans to OTel Collector via OTLP/HTTP (proto).
13-
# Uses stamp address (not mesh) since docs-internal is not on the service mesh.
14-
# See https://thehub.github.com/epd/engineering/dev-practicals/observability/distributed-tracing/instrumentation/
15-
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: 'https://otelcol.service.%stamp%.github.net/v1/traces'
12+
# NodeSDK auto-enables OTLP metrics and logs exporters when these env vars
13+
# are unset. We only want traces, so explicitly disable the others to avoid
14+
# spamming export errors. See https://opentelemetry.io/docs/specs/otel/protocol/exporter/
15+
OTEL_METRICS_EXPORTER: 'none'
16+
OTEL_LOGS_EXPORTER: 'none'
17+
# OTel traces endpoint is set per-environment (see production/env.yaml).
18+
# Stagings don't have OTEL_EXPORTER_OTLP_TRACES_HEADERS, so they don't
19+
# export traces — tracing.ts gates SDK startup on the endpoint env var.

config/moda/configuration/production/env.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ data:
1313
# Equivalent to HEAVEN_DEPLOYED_ENV === 'production'
1414
MODA_PROD_SERVICE_ENV: 'true'
1515
# OTel distributed tracing — sends spans to OTel Collector via OTLP/HTTP (proto).
16-
# Uses stamp address (not mesh) since docs-internal is not on the service mesh.
16+
# Uses %site% template (not %stamp%) since docs-internal is not on the service
17+
# mesh and not on a Proxima stamp (region: iad, profile: general). %site%
18+
# interpolates to the cluster's site (e.g. iad), giving a hostname like
19+
# otelcol.service.iad.github.net that resolves from production pods.
1720
# See https://thehub.github.com/epd/engineering/dev-practicals/observability/distributed-tracing/instrumentation/
18-
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: 'https://otelcol.service.%stamp%.github.net/v1/traces'
21+
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: 'https://otelcol.service.%site%.github.net/v1/traces'

content/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ shortTitle: Contributing to projects
149149
### `layout`
150150

151151
- Purpose: Render the proper page layout.
152-
- Type: `String` that matches the name of the layout.
153-
For a layout named `components/landing`, the value would be `product-landing`.
152+
- Type: `String` that matches the name of a supported layout. See `layoutNames` in `src/frame/lib/frontmatter.ts` for the authoritative list (for example, `discovery-landing`, `journey-landing`, `bespoke-landing`, `category-landing`, `toc-landing`, `inline`).
154153
- Optional. If omitted, `DefaultLayout` is used.
155154

156155
### `children`

content/account-and-profile/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ introLinks:
66
quickstart: /account-and-profile/get-started/account
77
overview: /account-and-profile/get-started/profile
88
layout: discovery-landing
9-
changelog:
10-
label: profiles, github-themes
11-
versions:
12-
fpt: '*'
13-
ghec: '*'
149
versions:
1510
fpt: '*'
1611
ghes: '*'

content/actions/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ intro: 'Automate, customize, and execute your software development workflows rig
55
introLinks:
66
overview: /actions/get-started/understand-github-actions
77
quickstart: /actions/get-started/quickstart
8-
changelog:
9-
label: actions
108
redirect_from:
119
- /articles/automating-your-workflow-with-github-actions
1210
- /articles/customizing-your-project-with-github-actions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ jobs:
830830

831831
> [!NOTE]
832832
> * The webhook payload available to GitHub Actions does not include the `added`, `removed`, and `modified` attributes in the `commit` object. You can retrieve the full commit object using the API. For information, see [AUTOTITLE](/graphql/reference/objects#commit) in the GraphQL API documentation or [AUTOTITLE](/rest/commits#get-a-commit).
833-
> * {% ifversion fpt or ghec or ghes > 3.14 %}Events will not be created if more than 5,000 branches are pushed at once. {% endif %}Events will not be created for tags when more than three tags are pushed at once.
833+
> * Events will not be created if more than 5,000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.
834834

835835
Runs your workflow when you push a commit or tag, or when you create a repository from a template.
836836

0 commit comments

Comments
 (0)