Skip to content

Commit a33e29c

Browse files
authored
Merge pull request #41056 from github/repo-sync
Repo sync
2 parents 3fef408 + 48aaa70 commit a33e29c

File tree

130 files changed

+608
-2983
lines changed

Some content is hidden

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

130 files changed

+608
-2983
lines changed

.github/workflows/sync-openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
# If nothing to commit, exit now. It's fine. No orphans.
8686
changes=$(git diff --name-only | wc -l)
8787
if [[ $changes -eq 0 ]]; then
88-
echo "There are no changes to commit after running `npm run sync-rest` Exiting..."
88+
echo "There are no changes to commit after running 'npm run sync-rest'. Exiting..."
8989
exit 0
9090
fi
9191

content/billing/reference/actions-minute-multipliers.md

Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: Actions runner pricing
3+
shortTitle: Actions runner pricing
4+
intro: Reference information for calculating the cost of using different {% data variables.product.github %}-hosted runners.
5+
versions:
6+
fpt: "*"
7+
ghec: "*"
8+
ghes: "*"
9+
topics:
10+
- Billing
11+
- Actions
12+
contentType: reference
13+
redirect_from:
14+
- /billing/reference/actions-minute-multipliers
15+
---
16+
17+
{% data variables.product.github %} rounds the minutes and partial minutes each job uses up to the nearest whole minute.
18+
19+
## Standard runners
20+
21+
| Operating system | Per-minute rate (USD) |
22+
| ------------------------------------ | --------------------- |
23+
| Linux 1-core | $0.002 |
24+
| Linux 2-core | $0.008 |
25+
| Windows 2-core | $0.016 |
26+
| macOS 3-core or 4-core (M1 or Intel) | $0.08 |
27+
28+
## x64-powered {% data variables.actions.hosted_runners %}
29+
30+
| Operating system | Per-minute rate (USD) |
31+
| --------------------- | --------------------- |
32+
| Linux Advanced 2-core | $0.008 |
33+
| Linux 4-core | $0.016 |
34+
| Linux 8-core | $0.032 |
35+
| Linux 16-core | $0.064 |
36+
| Linux 32-core | $0.128 |
37+
| Linux 64-core | $0.256 |
38+
| Linux 96-core | $0.384 |
39+
| Windows 4-core | $0.032 |
40+
| Windows 8-core | $0.064 |
41+
| Windows 16-core | $0.128 |
42+
| Windows 32-core | $0.256 |
43+
| Windows 64-core | $0.512 |
44+
| Windows 96-core | $0.768 |
45+
| macOS 12-core | $0.12 |
46+
47+
## arm64-powered {% data variables.actions.hosted_runners %}
48+
49+
| Operating system | Per-minute rate (USD) |
50+
| ----------------- | --------------------- |
51+
| Linux 2-core | $0.005 |
52+
| Linux 4-core | $0.01 |
53+
| Linux 8-core | $0.02 |
54+
| Linux 16-core | $0.04 |
55+
| Linux 32-core | $0.08 |
56+
| Linux 64-core | $0.16 |
57+
| Windows 2-core | $0.01 |
58+
| Windows 4-core | $0.02 |
59+
| Windows 8-core | $0.04 |
60+
| Windows 16-core | $0.08 |
61+
| Windows 32-core | $0.16 |
62+
| Windows 64-core | $0.32 |
63+
| macOS 6-core (M1) | $0.16 |
64+
65+
## GPU-powered {% data variables.actions.hosted_runners %}
66+
67+
| Operating system | Per-minute rate (USD) |
68+
| ---------------- | --------------------- |
69+
| Linux 4-core | $0.07 |
70+
| Windows 4-core | $0.14 |
71+
72+
## Points to note about rates for runners
73+
74+
* The number of jobs you can run concurrently across all repositories in your user or organization account depends on your {% data variables.product.github %} plan. For more information, see [AUTOTITLE](/actions/learn-github-actions/usage-limits-billing-and-administration) for {% data variables.product.github %}-hosted runners and [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/usage-limits-for-self-hosted-runners) for self-hosted runner usage limits.
75+
* {% data reusables.actions.larger-runner-permissions %}
76+
* {% data reusables.actions.about-larger-runners-billing %}
77+
* For {% data variables.actions.hosted_runner %}s, there is no additional cost for configurations that assign public static IP addresses to a {% data variables.actions.hosted_runner %}. For more information on {% data variables.actions.hosted_runner %}s, see [AUTOTITLE](/actions/using-github-hosted-runners/using-larger-runners/about-larger-runners).
78+
* Included minutes cannot be used for {% data variables.actions.hosted_runner %}s.
79+
* The {% data variables.actions.hosted_runner %}s are not free for public repositories.
80+
* Custom images can only be used with larger runners and are billed at the same per-minute rates as those runners.

content/billing/reference/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Reference for billing
33
shortTitle: Reference
44
intro: Find information to support your use of billing.
55
versions:
6-
fpt: '*'
7-
ghec: '*'
8-
ghes: '*'
6+
fpt: "*"
7+
ghec: "*"
8+
ghes: "*"
99
topics:
1010
- Billing
1111
children:
1212
- /product-usage-included
13-
- /actions-minute-multipliers
13+
- /actions-runner-pricing
1414
- /billing-reports
1515
- /supported-payment-methods
1616
- /azure-billing

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ Users can include hidden messages in issues assigned to {% data variables.produc
153153
### Limitations in Copilot's compatibility with other features
154154

155155
* **{% data variables.product.prodname_copilot_short %} does not sign its commits**. If you have the "Require signed commits" rule or branch protection enabled, you must rewrite the commit history in order to merge {% data variables.product.prodname_copilot_short %}'s pull requests. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#require-signed-commits).
156-
* **{% data variables.product.prodname_copilot_short %} does not work with self-hosted {% data variables.product.prodname_actions %} runners**. {% data variables.product.prodname_copilot_short %} has access to its own development environment, running in {% data variables.product.prodname_actions %}, and must use {% data variables.product.prodname_dotcom %}-hosted runners. See [AUTOTITLE](/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent#upgrading-to-larger-github-hosted-github-actions-runners).
157156
* **{% data variables.copilot.copilot_coding_agent %} does not work in personal repositories owned by {% data variables.enterprise.prodname_managed_users %}**. This is because {% data variables.copilot.copilot_coding_agent %} requires {% data variables.product.company_short %}-hosted runners, which are not available to repositories owned by {% data variables.enterprise.prodname_managed_users %}. See [AUTOTITLE](/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners).
158157
* **{% data variables.copilot.copilot_coding_agent %} doesn't account for content exclusions**. Content exclusions allow administrators to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When using {% data variables.copilot.copilot_coding_agent %}, {% data variables.product.prodname_copilot_short %} will not ignore these files, and will be able to see and update them. See [AUTOTITLE](/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot).
159158
* **{% data variables.copilot.copilot_coding_agent %} only works with repositories hosted on {% data variables.product.github %}**. If your repository is stored using a different code hosting platform, {% data variables.product.prodname_copilot_short %} won't be able to work on it.

data/reusables/contributing/content-linter-rules.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
| Rule ID | Rule Name(s) | Description | Severity | Tags |
44
| ------- | ------------ | ----------- | -------- | ---- |
55
| [MD001](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md001.md) | heading-increment | Heading levels should only increment by one level at a time | error | headings |
6-
| [MD004](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md004.md) | ul-style | Unordered list style | error | bullet, ul |
7-
| [MD009](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md009.md) | no-trailing-spaces | Trailing spaces | error | whitespace |
86
| [MD011](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md011.md) | no-reversed-links | Reversed link syntax | error | links |
9-
| [MD012](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md) | no-multiple-blanks | Multiple consecutive blank lines | error | whitespace, blank_lines |
107
| [MD014](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md014.md) | commands-show-output | Dollar signs used before commands without showing output | error | code |
118
| [MD018](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md018.md) | no-missing-space-atx | No space after hash on atx style heading | error | headings, atx, spaces |
129
| [MD019](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md019.md) | no-multiple-space-atx | Multiple spaces after hash on atx style heading | error | headings, atx, spaces |
13-
| [MD022](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md022.md) | blanks-around-headings | Headings should be surrounded by blank lines | error | headings, blank_lines |
1410
| [MD023](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md023.md) | heading-start-left | Headings must start at the beginning of the line | error | headings, spaces |
1511
| [MD027](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md027.md) | no-multiple-space-blockquote | Multiple spaces after blockquote symbol | error | blockquote, whitespace, indentation |
1612
| [MD029](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md029.md) | ol-prefix | Ordered list item prefix | error | ol |
@@ -20,8 +16,6 @@
2016
| [MD039](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md039.md) | no-space-in-links | Spaces inside link text | error | whitespace, links |
2117
| [MD040](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md040.md) | fenced-code-language | Fenced code blocks should have a language specified | error | code, language |
2218
| [MD042](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md042.md) | no-empty-links | No empty links | error | links |
23-
| [MD047](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md047.md) | single-trailing-newline | Files should end with a single newline character | error | blank_lines |
24-
| [MD049](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md049.md) | emphasis-style | Emphasis style | error | emphasis |
2519
| [MD050](https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md050.md) | strong-style | Strong style | error | emphasis |
2620
| [GH001](https://github.com/github/markdownlint-github/blob/main/docs/rules/GH001-no-default-alt-text.md) | no-default-alt-text | Images should have meaningful alternative text (alt text) | error | accessibility, images |
2721
| [GH002](https://github.com/github/markdownlint-github/blob/main/docs/rules/GH002-no-generic-link-text.md) | no-generic-link-text | Avoid using generic link text like `Learn more` or `Click here` | error | accessibility, links |
@@ -47,11 +41,9 @@
4741
| GHD020 | liquid-ifversion-tags | Liquid `ifversion` tags should contain valid version names as arguments | error | liquid, versioning |
4842
| GHD021 | yaml-scheduled-jobs | YAML snippets that include scheduled workflows must not run on the hour and must be unique | error | feature, actions |
4943
| GHD022 | liquid-ifversion-versions | Liquid `ifversion`, `elsif`, and `else` tags should be valid and not contain unsupported versions. | error | liquid, versioning |
50-
| GHD030 | code-fence-line-length | Code fence lines should not exceed a maximum length | warning | code, accessibility |
5144
| GHD031 | image-alt-text-exclude-words | Alternate text for images should not begin with words like "image" or "graphic" | error | accessibility, images |
5245
| GHD032 | image-alt-text-end-punctuation | Alternate text for images should end with punctuation | error | accessibility, images |
5346
| GHD033 | incorrect-alt-text-length | Images alternate text should be between 40-150 characters | warning | accessibility, images |
54-
| GHD034 | list-first-word-capitalization | First word of list item should be capitalized | warning | ul, ol |
5547
| GHD035 | rai-reusable-usage | RAI articles and reusables can only reference reusable content in the data/reusables/rai directory | error | feature, rai |
5648
| GHD036 | image-no-gif | Image must not be a gif, styleguide reference: contributing/style-guide-and-content-model/style-guide.md#images | error | images |
5749
| GHD038 | expired-content | Expired content must be remediated. | warning | expired |
@@ -64,13 +56,9 @@
6456
| GHD045 | code-annotation-comment-spacing | Code comments in annotation blocks must have exactly one space after the comment character(s) | warning | code, comments, annotate, spacing |
6557
| GHD046 | outdated-release-phase-terminology | Outdated release phase terminology should be replaced with current GitHub terminology | warning | terminology, consistency, release-phases |
6658
| GHD047 | table-column-integrity | Tables must have consistent column counts across all rows | warning | tables, accessibility, formatting |
67-
| GHD048 | british-english-quotes | Periods and commas should be placed inside quotation marks (American English style) | warning | punctuation, quotes, style, consistency |
68-
| GHD049 | note-warning-formatting | Note and warning tags should be formatted according to style guide | warning | formatting, callouts, notes, warnings, style |
69-
| GHD050 | multiple-emphasis-patterns | Do not use more than one emphasis/strong, italics, or uppercase for a string | warning | formatting, emphasis, style |
7059
| GHD051 | frontmatter-versions-whitespace | Versions frontmatter should not contain unnecessary whitespace | warning | frontmatter, versions |
7160
| GHD053 | header-content-requirement | Headers must have content between them, such as an introduction | warning | headers, structure, content |
7261
| GHD054 | third-party-actions-reusable | Code examples with third-party actions must include disclaimer reusable | warning | actions, reusable, third-party |
73-
| GHD055 | frontmatter-validation | Frontmatter properties must meet character limits and required property requirements | warning | frontmatter, character-limits, required-properties |
7462
| GHD056 | frontmatter-landing-recommended | Only landing pages can have recommended articles, there should be no duplicate recommended articles, and all recommended articles must exist | error | frontmatter, landing, recommended |
7563
| GHD057 | ctas-schema | CTA URLs must conform to the schema | error | ctas, schema, urls |
7664
| GHD058 | journey-tracks-liquid | Journey track properties must use valid Liquid syntax | error | frontmatter, journey-tracks, liquid |

eslint.config.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ export default [
2525
...globals.node,
2626
...globals.commonjs,
2727
...globals.es2020,
28+
// Fetch API types for TypeScript
29+
RequestInit: 'readonly',
30+
RequestInfo: 'readonly',
31+
HeadersInit: 'readonly',
32+
JSX: 'readonly',
33+
// Node.js types for TypeScript
34+
BufferEncoding: 'readonly',
35+
NodeJS: 'readonly',
36+
// cheerio namespace for TypeScript
37+
cheerio: 'readonly',
2838
},
2939
parserOptions: {
3040
requireConfigFile: false,
@@ -83,15 +93,13 @@ export default [
8393
'no-redeclare': 'off', // Allow function overloads in TypeScript
8494
'i18n-text/no-en': 'off', // This rule causes eslint to not run at all
8595
'filenames/match-regex': 'off', // This rule causes eslint to not run at all
96+
camelcase: 'off', // Many gh apis use underscores, 600+ uses
8697

8798
// Disabled rules to review
8899
'github/no-then': 'off', // 30+
89100
'@typescript-eslint/ban-ts-comment': 'off', // 50+
90-
'no-undef': 'off', // 50+
91101
'no-shadow': 'off', // 150+
92-
'prefer-template': 'off', // 150+
93102
'github/array-foreach': 'off', // 250+
94-
camelcase: 'off', // 600+
95103
'no-console': 'off', // 800+
96104
'@typescript-eslint/no-explicit-any': 'off', // 1000+
97105
},

src/app/client-layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'use client'
22

3+
import React, { useEffect, useMemo, useState } from 'react'
4+
import type { JSX } from 'react'
35
import { ThemeProvider } from '@primer/react'
4-
import { useEffect, useMemo, useState } from 'react'
56

67
import { LocaleProvider } from '@/app/lib/locale-context'
78
import { useDetectLocale } from '@/app/lib/use-detect-locale'

src/app/components/AppRouterLanguagesContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client'
22

3-
import { createContext, useContext } from 'react'
3+
import React, { createContext, useContext } from 'react'
44
import { languages, type LanguageCode } from '@/languages/lib/languages'
55

66
export type AppRouterLanguageItem = {

0 commit comments

Comments
 (0)