Skip to content

Commit b0c9f2b

Browse files
authored
Merge pull request #37709 from github/repo-sync
Repo sync
2 parents b42a711 + eb05e64 commit b0c9f2b

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed
21.8 KB
Loading
549 Bytes
Loading

content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can view the current license limits and usage for your enterprise.
3232
{% ifversion ghec %}
3333
{% data reusables.enterprise-accounts.access-enterprise %}
3434
{% data reusables.enterprise-accounts.licensing-tab-both-platforms %}
35-
* The "{% data variables.product.prodname_GHAS %}" section shows details of the licenses you currently **consume**.
35+
* The "{% data variables.product.prodname_AS %}" section shows details of the licenses you currently **consume**.
3636
* If you have a volume/subscription license, the number of licenses **available** to use is also displayed.
3737
* If you run out of licenses, for volume/subscription only, the section is red and reports "Limit exceeded." You should either reduce your use or purchase more licenses.
3838

@@ -48,7 +48,7 @@ You can view the current license limits and usage for your enterprise.
4848
{% data reusables.enterprise-accounts.access-enterprise %}
4949
{% data reusables.enterprise-accounts.license-tab %}
5050

51-
The "{% data variables.product.prodname_GHAS %}" section shows details of the current usage. You can see the total number of licenses used, as well as a table with the number of committers and unique committers for each organization.
51+
The "{% data variables.product.prodname_AS %}" section shows details of the current usage. You can see the total number of licenses used, as well as a table with the number of committers and unique committers for each organization.
5252

5353
1. Optionally, to see a detailed breakdown of usage by repositories within an organization, click an organization name to display the "Global code security settings" for the organization.
5454

content/code-security/securing-your-organization/managing-the-security-of-your-organization/managing-your-github-advanced-security-license-usage.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,23 @@ To learn about licensing for {% data variables.product.prodname_GH_cs_and_sp %},
3030
{% data reusables.profile.access_org %}
3131
{% data reusables.organizations.org_settings %}
3232
{% data reusables.security-configurations.view-configurations-page %}
33-
1. In the "Apply configurations" section, your current license usage will be displayed as:
34-
{% ifversion ghas-products %}
35-
`# {% data variables.product.prodname_secret_protection %} licenses • # {% data variables.product.prodname_code_security %} licenses in use{% ifversion ghec %} by YOUR-ENTERPRISE{% endif %}.`
33+
1. In the "Apply configurations" section, your current license usage will be displayed. {% ifversion ghas-products %}This screenshot shows metered usage. If you have bought a volume/subscription license, then the number of licenses available is also reported.
34+
3635
![Screenshot of the "Apply configurations" section. The current license use for the enterprise is outlined in dark orange.](/assets/images/help/security-configurations/current-sp-cs-license-usage.png)
3736
{% else %}
3837
`NUMBER-USED out of NUMBER-PURCHASED available GitHub Advanced Security licenses in use by YOUR-ENTERPRISE.`
3938
![Screenshot of the "Apply configurations" section. The current license use for the enterprise is outlined in dark orange.](/assets/images/help/security-configurations/current-ghas-license-usage.png)
4039
{% endif %}
4140

4241
1. Optionally, to find specific repositories in your organization, filter the repository table. To learn more, see [AUTOTITLE](/code-security/securing-your-organization/managing-the-security-of-your-organization/filtering-repositories-in-your-organization-using-the-repository-table).
42+
{% ifversion ghas-products %}
43+
<!--This functionality is shown in modal dialogs when you enable a security configuration following the release of separate SKUs for GHAS.-->
44+
{% else %}
4345
1. To quickly identify the number of licenses needed to enable {% data variables.product.prodname_GH_cs_and_sp %} on a specific repository, in that repository's row of the repository table, read "NUMBER licenses required".
4446
1. To view license usage for multiple repositories in your organization, select the repositories from the repository table. In the "Apply configurations" section, you will see the number of licenses required to apply {% data variables.product.prodname_GH_cs_and_sp %} to the repositories, as well as the number of licenses made available if you disable {% data variables.product.prodname_GH_cs_or_sp %} on those repositories.
4547

4648
![Screenshot of the "Apply configurations" section. The potential changes to GHAS license usage for the enterprise are outlined in dark orange.](/assets/images/help/security-configurations/ghas-licenses-used-or-freed.png)
49+
{% endif %}
4750

4851
{% ifversion ghec %}
4952
> [!TIP]

content/copilot/rolling-out-github-copilot-at-scale/choosing-your-enterprises-plan-for-github-copilot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When you adopt {% data variables.product.prodname_copilot %} in a company, you w
1919

2020
This article helps you to decide whether to adopt {% data variables.product.prodname_copilot_business_short %} or {% data variables.product.prodname_copilot_enterprise_short %}.
2121

22-
<a href="https://github.com/github-copilot/purchase" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>
22+
<a href="https://github.com/github-copilot/purchase?ref_cta=Copilot+Enterprise+trial&ref_cta=Copilot+Business+trial&ref_loc=choosing+enterprise+plan" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>
2323

2424
## About the plans
2525

content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,15 +408,18 @@ You can access {% data variables.product.prodname_copilot_short %}'s immersive v
408408

409409
> [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. During the {% data variables.release-phases.public_preview %}, this feature is only available to users without enterprise or team memberships.
410410
411-
You can share {% data variables.product.prodname_copilot_chat_short %} conversations from the immersive view ([https://github.com/copilot](https://github.com/copilot)). Shared conversations are public or private (i.e. permission-based), for example, a conversation about a private repository. If you share a private conversation, the recipient must have the necessary permissions to view the content. Shared conversations are read-only—the recipient can view the conversation but cannot interact.
411+
You can share {% data variables.product.prodname_copilot_chat_short %} conversations from the immersive view ([https://github.com/copilot](https://github.com/copilot)). Shared conversations are public or private (i.e. permission-based), depending on the referenced content, for example, a conversation about a private repository. If you share a private conversation, the recipient must have the necessary permissions to view the content.
412+
413+
Once you share a conversation, the recipient can view the conversation, and continue it from the point you shared it. Any changes made to the conversation after you share it are not included in the shared link.
412414

413415
1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon next to the search bar.
414416
1. To view a conversation in immersive mode, click **{% octicon "screen-full" aria-hidden="true" %} Immersive**.
415-
1. Once you submit your first prompt, a share button will appear in the upper right corner. Click {% octicon "share" aria-label="Share" %} to open the share dialog.
417+
1. Once you submit your first prompt, a share button will appear in the upper right corner. Click **{% octicon "lock" aria-hidden="true" %} Share** to open the share dialog.
416418

417419
![Screenshot of the main search box on {% data variables.product.prodname_dotcom %}. The share button is highlighted with an orange outline.](/assets/images/help/copilot/chat-share-button.png)
418420

419-
1. To copy the conversation link, click **{% octicon "link" aria-label="Copy conversation link" %} Create link**. The link is copied to your clipboard.
421+
1. To share the conversation, click **Share**. This will generate a link to the conversation.
422+
1. To copy the conversation link, click the **{% octicon "copy" aria-label="Copy conversation icon" %}** copy icon. The link is copied to your clipboard.
420423

421424
## Sharing feedback about {% data variables.product.prodname_copilot_chat_dotcom %}
422425

src/events/components/experiments/experiment.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { getUserEventsId } from '../events'
1111
import type { ParsedUrlQuery } from 'querystring'
1212

1313
let experimentsInitialized = false
14+
let userIsStaff = false
1415

1516
export function shouldShowExperiment(
1617
experimentKey: ExperimentNames | { key: ExperimentNames },
@@ -45,6 +46,7 @@ export function shouldShowExperiment(
4546
// If the user has staffonly cookie, and staff override is true, show the experiment
4647
if (experiment.alwaysShowForStaff) {
4748
if (isStaff) {
49+
userIsStaff = true
4850
console.log(`Staff cookie is set, showing '${experiment.key}' experiment`)
4951
return true
5052
}
@@ -117,10 +119,11 @@ export function getExperimentVariationForContext(locale: string, version: string
117119
if (experiment.includeVariationInContext) {
118120
// If the user is using the URL param to view the experiment, include the variation in the context
119121
if (
120-
experiment.turnOnWithURLParam &&
121-
window.location?.search
122-
?.toLowerCase()
123-
.includes(`feature=${experiment.turnOnWithURLParam.toLowerCase()}`)
122+
(experiment.turnOnWithURLParam &&
123+
window.location?.search
124+
?.toLowerCase()
125+
.includes(`feature=${experiment.turnOnWithURLParam.toLowerCase()}`)) ||
126+
(experiment.alwaysShowForStaff && userIsStaff)
124127
) {
125128
return TREATMENT_VARIATION
126129
}

0 commit comments

Comments
 (0)