Skip to content

Commit ccee547

Browse files
authored
Merge pull request #46810 from github/repo-sync
Repo sync
2 parents 23809bf + da144bd commit ccee547

57 files changed

Lines changed: 6437 additions & 4308 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.

‎.devcontainer/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Update ARG and FROM together from the Node devcontainer image tags:
22
# https://mcr.microsoft.com/en-us/product/devcontainers/javascript-node/tags
3-
ARG VARIANT=dev-24-bookworm
4-
FROM mcr.microsoft.com/devcontainers/javascript-node:dev-24-bookworm@sha256:42a1a7629b5a2c22c759a1de4fbb277c9e600b6fecd66b89583fc36e9453e698
3+
ARG VARIANT=dev-26-bookworm
4+
FROM mcr.microsoft.com/devcontainers/javascript-node:dev-26-bookworm@sha256:50273c54d771adc1599a5c08ba849b4f65de1df8d8040fee3a11e8640c500d31

‎.devcontainer/devcontainer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"name": "docs.github.com",
66
"build": {
77
"dockerfile": "Dockerfile",
8-
// Update 'VARIANT' to pick a Node version
9-
"args": { "VARIANT": "24" }
8+
// The pinned FROM image in .devcontainer/Dockerfile picks the Node version. Keep VARIANT in sync.
9+
"args": { "VARIANT": "26" }
1010
},
1111

1212
// Install features. Type 'feature' in the VS Code command palette for a full list.

‎Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ RUN --mount=type=secret,id=pkg-mirror-host,target=/etc/pkg_mirror_host.txt \
1515
if [ -f /etc/pkg_mirror_host.txt ]; then cat /etc/pkg_mirror_host.txt >> /etc/apt/mirrorlist.txt; fi
1616
RUN --mount=type=secret,id=apt-auth-conf,target=/etc/apt/auth.conf.d/apt_auth.conf \
1717
apt-get -qq update && apt-get -qq install --no-install-recommends curl git \
18-
&& curl -sL https://deb.nodesource.com/setup_24.x | bash - \
18+
&& curl -sL https://deb.nodesource.com/setup_26.x | bash - \
1919
&& apt-get install -y nodejs \
2020
&& node --version
21-
# Fail the build if the NodeSource snapshot predates Node 24.22.1 (CVE-2026-111497 brotli decoder fix).
22-
RUN node -e 'const [maj, min, pat] = process.versions.node.split(".").map(Number); if (maj !== 24 || min < 22 || (min === 22 && pat < 1)) { throw new Error("Node >= 24.22.1 required (brotli CVE-2026-111497), got " + process.versions.node); }'
21+
# Fail the build unless NodeSource installed Node 26.x at 26.12.1 or later (CVE-2026-111497 brotli decoder fix).
22+
RUN node -e 'const [maj, min, pat] = process.versions.node.split(".").map(Number); if (maj !== 26 || min < 12 || (min === 12 && pat < 1)) { throw new Error("Node 26.x >= 26.12.1 required (brotli CVE-2026-111497), got " + process.versions.node); }'
2323
# Stages built FROM base inherit this ARG, so every later stage can use APP_HOME.
2424
ARG APP_HOME="/home/node/app"
2525
RUN useradd -ms /bin/bash node \

‎Dockerfile.openapi_decorator‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:24-alpine@sha256:7d042bda1f5999f5bd14a23e9e62d9c320cceb68f93f167ce01ca3ecbd9cef71
1+
FROM node:26-alpine@sha256:40cd011b55415bc894e45b02fdd5a5dfde056921b7d23a64c74f80497af48797
22

33
WORKDIR /openapi-check
44

-189 KB
Binary file not shown.
-350 KB
Binary file not shown.
Binary file not shown.
-33.4 KB
Binary file not shown.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: About GitHub Code Quality
3+
intro: 'Decide whether {% data variables.product.prodname_code_quality %} meets your team''s needs, how it complements other {% data variables.product.github %} products, and what to consider before purchasing.'
4+
product: '{% data reusables.gated-features.code-quality-availability %}'
5+
versions:
6+
feature: code-quality
7+
shortTitle: GitHub Code Quality
8+
category:
9+
- Explore GitHub plans and features
10+
---
11+
12+
## About {% data variables.product.prodname_code_quality %}
13+
14+
{% data variables.product.prodname_code_quality %} analyzes your code for quality and coverage issues using {% data variables.product.prodname_codeql %} rules and AI-powered analysis.
15+
16+
* On pull requests, findings appear as inline comments with one-click {% data variables.product.prodname_copilot_short %}-powered fixes, so new quality debt doesn't accumulate before code is merged.
17+
* On your default branch, scans surface existing quality debt. You can apply autofixes directly, or delegate remediation to {% data variables.copilot.copilot_cloud_agent %}.
18+
19+
You can enforce quality thresholds with rulesets to block pull requests that don't meet your team's standards. To also enforce line coverage thresholds, upload a Cobertura XML coverage report from your tests.
20+
21+
To purchase {% data variables.product.prodname_code_quality %}, see {% data variables.product.pricing_link %}. For more information, including supported languages, see [AUTOTITLE](/code-security/concepts/code-quality/code-quality).
22+
23+
## How {% data variables.product.prodname_code_quality_short %} fits with other {% data variables.product.github %} products
24+
25+
{% data variables.product.prodname_code_quality_short %} is purchased separately from {% data variables.product.prodname_GHAS %} and {% data variables.product.prodname_copilot_short %}. It focuses on metrics related to code quality, such as code coverage. {% data variables.product.prodname_GHAS %} products focus on security, and {% data variables.copilot.copilot_code-review_short %} provides AI-powered feedback on pull requests.
26+
27+
{% data variables.product.prodname_code_quality_short %} enforces deterministic quality and coverage rules that you can use to block merges, while {% data variables.copilot.copilot_code-review_short %} gives broader, conversational AI feedback. Many teams use both: {% data variables.copilot.copilot_code-review_short %} for general review, and {% data variables.product.prodname_code_quality_short %} for enforceable standards.
28+
29+
## Costs to consider
30+
31+
Before purchasing {% data variables.product.prodname_code_quality_short %}, consider these costs:
32+
33+
* A per-active-committer fee for repositories where it's enabled
34+
* {% data variables.product.prodname_actions %} minutes for scans, unless you use self-hosted runners
35+
* {% data variables.product.prodname_ai_credits %} for {% data variables.product.prodname_copilot_short %}-powered fixes and AI-powered detections (no {% data variables.product.prodname_copilot_short %} license required)
36+
37+
For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-code-quality).
38+
39+
## Next steps
40+
41+
To start using {% data variables.product.prodname_code_quality_short %}, see [AUTOTITLE](/code-security/how-tos/maintain-quality-code/enable-code-quality).

‎content/get-started/learning-about-github/githubs-plans.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ In addition to the features available with {% data variables.product.prodname_fr
8989
For more information, see [AUTOTITLE](/get-started/learning-about-github/about-github-advanced-security).
9090

9191
{% ifversion fpt or ghec %}
92-
* The option to purchase {% data variables.product.prodname_code_quality %}, which helps teams find and fix code quality and coverage issues. For more information, see [AUTOTITLE](/code-security/concepts/code-quality/code-quality).
92+
* The option to purchase {% data variables.product.prodname_code_quality %}, which helps teams find and fix code quality and coverage issues. For more information, see [AUTOTITLE](/get-started/learning-about-github/about-github-code-quality).
9393
{% endif %}
9494

9595
* Advanced tools and insights in private repositories:

0 commit comments

Comments
 (0)