Skip to content

Commit ae648a1

Browse files
authored
Merge pull request #46293 from github/repo-sync
Repo sync
2 parents d1a0081 + 0e036d7 commit ae648a1

82 files changed

Lines changed: 483 additions & 342 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/confirm-internal-staff-work-in-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
owner: 'github',
6060
repo: process.env.TEAM_CONTENT_REPO,
6161
title: `@${context.payload.sender.login} confirm that \#${issueNo} should be in the public github/docs repo`,
62-
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/${process.env.TEAM_CONTENT_REPO} repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks!`,
62+
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/${process.env.TEAM_CONTENT_REPO} repo.\n\n@${context.payload.sender.login}, if this specifically belongs in the public repo, and no sensitive information is disclosed, please ignore this message. Otherwise, please ${context.payload.pull_request ? 'close the pull request and recreate it internally in https://github.com/github/docs-content.' : 'close the issue and reopen it internally in https://github.com/github/docs-content, or transfer it there.'}\n\nIf sensitive information was shared, please close https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel, so we can delete it. Thanks!`,
6363
labels: ['OS confirmation', 'skip FR board'],
6464
});
6565
24.2 KB
Loading

‎content/admin/backing-up-and-restoring-your-instance/configuring-the-backup-service.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,20 @@ If the device was already initialized using `ghe-storage-init-backup`, you can r
121121

122122
This will mount the device at `/data/backup` and ensures it's mounted automatically in the future.
123123
124+
{% ifversion backup-service-cluster-ha %}
125+
{% # Pre-GA, backup-service was only supported on standalone topologies making this step irrelevant %}
126+
127+
1. If using a cluster or high availability (HA) configuration, set the `backup-server` role for the node on which the disk is mounted and apply the configuration.
128+
129+
Replace `HOSTNAME` with the hostname of the node on which the disk is mounted, as listed in `cluster.conf`.
130+
131+
```shell
132+
ghe-config cluster.HOSTNAME.backup-server true
133+
ghe-config-apply
134+
```
135+
136+
{% endif %}
137+
124138
### Configuring backup settings
125139
126140
After the backup target is mounted, the Backup Service page will become available in the {% data variables.enterprise.management_console %} in the "Backup" section. {% ifversion ghes > 3.19 %} If your instance is part of a clustered environment, the Backup Service page will be available after `ghe-config-apply`. {% endif %}

‎content/admin/data-residency/github-copilot-with-data-residency.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ The models available for {% data variables.product.prodname_copilot_short %} var
6565
* {% data variables.copilot.copilot_gpt_56_sol %}
6666
* {% data variables.copilot.copilot_gpt_56_terra %}
6767
* {% data variables.copilot.copilot_gpt_6_astra %}
68+
* {% data variables.copilot.copilot_gpt_6_luna %}
69+
* {% data variables.copilot.copilot_gpt_6_sol %}
70+
* {% data variables.copilot.copilot_gpt_61_sol %}
6871
* {% data variables.copilot.copilot_claude_haiku_45 %}
6972
* {% data variables.copilot.copilot_claude_haiku_55 %}
7073
* {% data variables.copilot.copilot_claude_opus_48 %}

‎content/billing/concepts/billing-cycles.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ versions:
77
redirect_from:
88
- /billing/using-the-enhanced-billing-platform-for-enterprises/about-the-billing-cycle
99
- /billing/using-the-billing-platform/viewing-your-subscriptions-and-billing-date
10-
- /billing/using-the-billing-platform/changing-the-duration-of-your-billing-cycle
1110
- /billing/using-the-new-billing-platform/viewing-your-subscriptions-and-billing-date
1211
- /billing/using-the-new-billing-platform/about-the-billing-cycle
1312
- /billing/managing-your-billing/about-the-billing-cycle
@@ -58,6 +57,10 @@ Changes you make mid-cycle, such as adding or removing users, seats, or resource
5857
* **Within the same billing account**: No double-billing. Moving users or resources between organizations under the same account is handled automatically.
5958
* **Between different billing accounts**: Each account is billed according to its own cycle. You may see charges in both accounts if the move overlaps billing periods.
6059

60+
## Changing your billing cycle
61+
62+
In some cases, you can change your billing cycle from monthly to annual, or vice versa. For information about when you can change your billing cycle and how to make the change, see [AUTOTITLE](/billing/how-tos/manage-plan-and-licenses/change-billing-cycle).
63+
6164
## Where to find usage details for specific products
6265

6366
Find product-specific guidance on how usage is calculated and billed.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Changing your billing cycle
3+
shortTitle: Change billing cycle
4+
intro: 'In some cases, you can change your billing cycle from monthly to annual, or vice versa.'
5+
redirect_from:
6+
- /github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle
7+
- /articles/monthly-and-yearly-billing
8+
- /articles/switching-between-monthly-and-yearly-billing-for-your-personal-account
9+
- /articles/switching-between-monthly-and-yearly-billing-for-your-organization
10+
- /articles/changing-the-duration-of-your-billing-cycle
11+
- /github/setting-up-and-managing-billing-and-payments-on-github/managing-your-github-billing-settings/changing-the-duration-of-your-billing-cycle
12+
- /billing/managing-your-github-billing-settings/changing-the-duration-of-your-billing-cycle
13+
- /billing/using-the-billing-platform/changing-the-duration-of-your-billing-cycle
14+
versions:
15+
fpt: '*'
16+
ghec: '*'
17+
contentType: how-tos
18+
category:
19+
- Manage your plan and licenses
20+
---
21+
22+
## Who can change their billing cycle
23+
24+
You can change your billing cycle if you have a volume-based plan that supports both monthly and annual billing. The change takes effect at the start of your next billing cycle.
25+
26+
For more information about volume-based plans, see [AUTOTITLE](/billing/concepts/billing-cycles#billing-cycles-for-volume-based-products).
27+
28+
## Changing your billing cycle
29+
30+
{% data reusables.user-settings.access_settings %}
31+
{% data reusables.user-settings.billing-plans-two-platforms %}
32+
33+
1. Find the plan you want to update, then select the **Edit** dropdown on the right.
34+
1. Select the option to change your billing cycle, then follow the prompts.

‎content/billing/how-tos/manage-plan-and-licenses/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ versions:
2222
children:
2323
- /upgrade-plan
2424
- /downgrade-plan
25+
- /change-billing-cycle
2526
- /manage-pending-changes
2627
- /view-enterprise-usage
2728
- /manage-user-licenses

‎content/code-security/concepts/code-scanning/ai-powered-security-detections.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,11 @@ You do not need to select a model to enable AI Scan.
7979

8080
Organization owners and security managers can review the effective enablement status of AI Scan for pull requests in the "Coverage" view of security overview. See [AUTOTITLE](/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-adoption-code-security).
8181

82+
People with access to security overview can also monitor AI Scan findings across an organization or enterprise:
83+
84+
* The **Prevention** tab on the overview dashboard shows trends in AI Scan findings, how many findings were resolved, and how often developers accepted a {% data variables.copilot.copilot_autofix_short %} suggestion.
85+
* The **AI Scan** tab in the "Code scanning on pull requests" report shows findings over time, the availability of {% data variables.copilot.copilot_autofix_short %} suggestions, and the outcomes of findings with and without suggestions.
86+
87+
For more information, see [AUTOTITLE](/code-security/concepts/code-scanning/code-scanning-on-pull-requests).
88+
8289
You can use the REST API to manage the organization or repository `ai-scan` setting. See [AUTOTITLE](/rest/code-scanning/code-scanning#get-the-ai-scan-setting-for-an-organization).

‎content/code-security/concepts/code-scanning/code-scanning-alerts.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ With a {% data variables.copilot.copilot_enterprise %} license, you can also ask
3737

3838
{% endif %}
3939

40-
For {% data variables.product.prodname_code_scanning %} alerts from {% data variables.product.prodname_codeql %} analysis, you can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests in repositories across your organization, and to identify repositories where you may need to take action. For more information, see [AUTOTITLE](/code-security/concepts/code-scanning/pull-request-alert-metrics).
40+
For {% data variables.product.prodname_code_scanning %} alerts from {% data variables.product.prodname_codeql %} analysis, you can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests in repositories across your organization, and to identify repositories where you may need to take action. For more information, see [AUTOTITLE](/code-security/concepts/code-scanning/code-scanning-on-pull-requests).
4141

4242
{% data reusables.code-scanning.audit-code-scanning-events %}
4343

content/code-security/concepts/code-scanning/pull-request-alert-metrics.md renamed to content/code-security/concepts/code-scanning/code-scanning-on-pull-requests.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: CodeQL pull request alert metrics
3-
shortTitle: Pull request alert metrics
4-
intro: Understand {% data variables.product.prodname_codeql %}'s performance in pull requests across your organizations.
2+
title: Code scanning on pull requests
3+
shortTitle: Code scanning on pull requests
4+
intro: Understand how {% data variables.product.prodname_codeql %}{% ifversion ai-powered-security-detections %} and AI Scan{% endif %} find and help prevent vulnerabilities in pull requests across your organizations.
55
permissions: '{% data reusables.permissions.security-overview %}'
66
product: '{% data reusables.gated-features.security-overview-fpt-cs-only %}'
77
contentType: concepts
@@ -11,14 +11,22 @@ versions:
1111
ghes: '*'
1212
category:
1313
- Secure at scale
14+
redirect_from:
15+
- /code-security/concepts/code-scanning/pull-request-alert-metrics
1416
---
1517

1618
## Overview
1719

18-
The metrics overview for {% data variables.product.prodname_codeql %} pull request alerts on security overview helps you understand how well {% data variables.product.prodname_codeql %} is preventing vulnerabilities in pull requests in your organization or across organizations in your enterprise. You can view the entire dataset or filter for specific criteria, making it easy to identify repositories where you may need to take action to find and reduce security risks.
20+
The "Code scanning on pull requests" report in security overview helps you understand how well {% data variables.product.prodname_code_scanning %} is preventing vulnerabilities in pull requests in your organization or across organizations in your enterprise. You can view the entire dataset or filter for specific criteria, making it easy to identify repositories where you may need to take action to find and reduce security risks.
21+
22+
{% ifversion ai-powered-security-detections %}
23+
The report has separate **{% data variables.product.prodname_codeql %}** and **AI Scan** tabs.
24+
{% endif %}
1925

2026
## Available metrics
2127

28+
### {% data variables.product.prodname_codeql %} metrics
29+
2230
The overview shows you a summary of how many vulnerabilities prevented by {% data variables.product.prodname_codeql %} have been caught in pull requests. The metrics are only tracked for pull requests that have been merged into the default branches of repositories in your organizations.
2331

2432
You can also find more granular metrics, such as how many alerts were fixed{% ifversion code-scanning-autofix %} with and without {% data variables.copilot.copilot_autofix_short %} suggestions{% endif %}, how many were unresolved and merged, and how many were dismissed as false positive or risk accepted.
@@ -43,6 +51,22 @@ You can also view:
4351
> [!NOTE] Metrics for {% data variables.copilot.copilot_autofix_short %} are omitted because {% data variables.copilot.copilot_autofix_short %} is available only on {% data variables.product.github %} cloud platforms.
4452
{% endif %}
4553

54+
{% ifversion ai-powered-security-detections %}
55+
56+
### AI Scan metrics
57+
58+
The **AI Scan** tab shows:
59+
60+
* **Total findings:** The number of AI Scan findings.
61+
* **Findings with Autofix suggestions:** The number and percentage of findings that had a {% data variables.copilot.copilot_autofix_short %} suggestion.
62+
* **AI Scan findings in pull requests:** A chart that groups findings over time by **Autofix suggested** and **Autofix not suggested**.
63+
* **Outcomes of findings with an Autofix suggestion:** The share of findings where a fix was applied or the finding was dismissed.
64+
* **Outcomes of findings without an Autofix suggestion:** The share of findings where a fix was applied or the finding was dismissed.
65+
66+
The date range and filters that you select apply to all AI Scan metrics displayed in the report.
67+
68+
{% endif %}
69+
4670
## Visibility
4771

4872
You can see {% data variables.product.prodname_code_scanning %} metrics for a repository if you have:
@@ -53,4 +77,4 @@ You can see {% data variables.product.prodname_code_scanning %} metrics for a re
5377

5478
## Next steps
5579

56-
To find your pull request alert metrics, see [AUTOTITLE](/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-pull-request-alerts).
80+
To view the "Code scanning on pull requests" report, see [AUTOTITLE](/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-pull-request-alerts).

0 commit comments

Comments
 (0)