You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/all.instructions.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ applyTo: "**"
4
4
5
5
# Copilot instructions for docs.github.com
6
6
7
-
This repository contains code to run the GitHub Docs site on docs.github.com, as well as the content that the site displays. We write the code in JavaScript and TypeScript, and we write the content primarily in Markdown.
7
+
This repository powers the GitHub Docs site (docs.github.com). It contains both the Next.js application code (TypeScript) and the documentation content (Markdown).
8
8
9
9
## Creating a pull request
10
10
@@ -29,6 +29,8 @@ When you create a pull request:
29
29
3. Label with "llm-generated".
30
30
4. If an issue exists, include "fixes owner/repo#issue" or "towards owner/repo#issue" as appropriate.
31
31
5. Always create PRs in **draft mode** using `--draft` flag.
32
+
6. Do not commit directly to `main`.
33
+
7. Whenever you create or comment on an issue or pull request, indicate you are GitHub Copilot.
Copy file name to clipboardExpand all lines: .github/instructions/code.instructions.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,11 @@ For code reviews, follow guidelines, tests, and validate instructions. For creat
11
11
- If available, use ripgrep (`rg`) instead of `grep`.
12
12
- When using gh cli in double-quoted strings, escape backticks to prevent bash command substitution. In single-quoted strings, backticks do not need escaping.
13
13
- All scripts should be listed in `package.json` and use `tsx`.
14
-
- Whenever you create or comment on an issue or pull request, indicate you are GitHub Copilot.
15
14
- Be careful fetching full HTML pages off the internet. Prefer to use MCP or gh cli whenever possible for github.com. Limit the number of tokens when grabbing HTML.
16
15
- Avoid pull requests with over 300 lines of code changed. When significantly larger, offer to split up into smaller pull requests if possible.
17
16
- All new code should be written in TypeScript and not JavaScript.
18
17
- We use absolute imports, relative to the `src` directory, using the `@` symbol. For example, `getRedirect` which lives in `src/redirects/lib/get-redirect.ts` can be imported with `import getRedirect from '@/redirects/lib/get-redirect'`. The same rule applies for TypeScript (`.ts`) imports, e.g. `import type { GeneralSearchHit } from '@/search/types'`
19
18
- For updates to the content linter, read important information in `src/content-linter/README.md`.
20
-
- Do not commit to `main` branch.
21
19
- Do not use git force push, and avoid git rebase.
**When to use**: Any content editing, documentation writing, or Markdown file changes. This is a condensed version of the full style guide at `/content/contributing/style-guide-and-content-model/style-guide.md`. Use these rules for routine work. Only consult the full style guide if you encounter a style question not covered here.
8
8
9
-
For Liquid variable usage, reusables, linking conventions, bullet-list formatting, and parenthetical dashes, see `content.instructions.md` (loaded automatically alongside this file).
9
+
For Liquid variable usage, reusables, linking conventions, bullet-list markers, and parenthetical dashes, see `content.instructions.md` (loaded automatically alongside this file).
Copy file name to clipboardExpand all lines: content/admin/managing-accounts-and-repositories/managing-repositories-in-your-enterprise/restoring-a-deleted-repository.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ If a repository was part of a fork network when it was deleted, the restored rep
21
21
22
22
It can take up to an hour after a repository is deleted before that repository is available for restoration.
23
23
24
-
Restoring a repository will not restore release attachments or team permissions. Issues that are restored will not be labeled.
24
+
Restoring a repository will not restore release attachments or team permissions.
Copy file name to clipboardExpand all lines: content/copilot/concepts/billing/budgets-for-usage-based-billing.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ There are two types:
26
26
***Universal user-level budget:** A default budget applied to every {% data variables.product.prodname_copilot_short %}-licensed user in your enterprise. This is your primary tool for ensuring fair access to the shared pool.
27
27
***Individual user-level budget:** A budget set for a specific user, which overrides the universal default and takes precedence over it entirely. Use this for power users who need higher limits, or to restrict specific users to a lower amount.
28
28
29
+
#### When users appear in a universal user-level budget
30
+
31
+
A universal user-level budget can apply to thousands of licensed users. {% data variables.product.github %} creates each user's budget record the first time they consume {% data variables.product.prodname_ai_credits_short %} after the budget is created, or after the start of a new billing cycle. As a result, users appear in the universal budget list gradually rather than all at once, and a licensed user who does not use {% data variables.product.prodname_copilot_short %} in a given billing cycle will not appear in the list for that billing cycle.
32
+
33
+
For a complete view of all licensed users regardless of activity, use the **AI usage** or **Licensing** pages.
34
+
29
35
### Cost center budget
30
36
31
37
A cost center budget caps metered charges for a defined group of users or an organization. It does not limit how much a team draws from the pool. It is only active after the shared pool is exhausted.
Copy file name to clipboardExpand all lines: content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ When you open a pull request, {% data variables.product.github %} creates up to
46
46
|`refs/pull/PULL_REQUEST_NUMBER/head`| Points to the latest commit on the pull request's head branch. |
47
47
|`refs/pull/PULL_REQUEST_NUMBER/merge`| A merge branch—a simulated merge commit that represents what the repository would look like if the pull request were merged right now. This ref is only available when the pull request has no merge conflicts. |
48
48
49
-
The merge branch automatically updates when the head branch or base branch changes. To fetch it locally:
49
+
The merge branch automatically updates when the head branch changes. To fetch it locally:
0 commit comments