Skip to content

Commit db454b2

Browse files
authored
Merge branch 'main' into patch-1
2 parents 213424c + 0632e0a commit db454b2

File tree

49 files changed

+286
-88
lines changed

Some content is hidden

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

49 files changed

+286
-88
lines changed

.github/actions-scripts/rendered-content-link-checker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,9 +1186,11 @@ async function renderInnerHTML(page, permalink) {
11861186

11871187
req.context.relativePath = page.relativePath
11881188

1189+
const guts = [page.rawIntro, page.rawPermissions, page.markdown].filter(Boolean).join('\n').trim()
1190+
11891191
// These lines do what the ubiquitous `renderContent` function does,
11901192
// but at an absolute minimum to get a string of HTML.
1191-
const markdown = await liquid.parseAndRender(page.markdown, req.context)
1193+
const markdown = await liquid.parseAndRender(guts, req.context)
11921194
const processor = createMinimalProcessor(req.context)
11931195
const vFile = await processor.process(markdown)
11941196
return vFile.toString()

content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,14 @@ The following example OIDC token uses a subject (`sub`) that references a job en
7676
"repository_owner_id": "65",
7777
"run_id": "example-run-id",
7878
"run_number": "10",
79-
"run_attempt": "2",
79+
"run_attempt": "2",{% ifversion actions-OIDC-custom-claim-runner-environment %}
80+
"runner_environment": "github-hosted"{% endif %}
8081
"actor": "octocat",
8182
"workflow": "example-workflow",
8283
"head_ref": "",
8384
"base_ref": "",
84-
"event_name": "workflow_dispatch",
85+
"event_name": "workflow_dispatch",{% ifversion actions-OIDC-custom-claim-enterprise %}
86+
"enterprise": "avocado-corp"{% endif %}
8587
"ref_type": "branch",
8688
"job_workflow_ref": "octo-org/octo-automation/.github/workflows/oidc.yml@refs/heads/main",
8789
"iss": "{% ifversion ghes %}https://HOSTNAME/_services/token{% else %}https://token.actions.githubusercontent.com{% endif %}",
@@ -121,6 +123,9 @@ The token also includes custom claims provided by {% data variables.product.prod
121123
| `actor`| The personal account that initiated the workflow run. |
122124
| `actor_id`| The ID of personal account that initiated the workflow run. |
123125
| `base_ref`| The target branch of the pull request in a workflow run. |
126+
{%- ifversion actions-OIDC-custom-claim-enterprise %}
127+
| `enterprise`| The name of the enterprise that contains the repository from where the workflow is running. |
128+
{%- endif %}
124129
| `environment`| The name of the environment used by the job. |
125130
| `event_name`| The name of the event that triggered the workflow run. |
126131
| `head_ref`| The source branch of the pull request in a workflow run. |
@@ -138,6 +143,9 @@ The token also includes custom claims provided by {% data variables.product.prod
138143
| `run_id`| The ID of the workflow run that triggered the workflow. |
139144
| `run_number`| The number of times this workflow has been run. |
140145
| `run_attempt`| The number of times this workflow run has been retried. |
146+
{%- ifversion actions-OIDC-custom-claim-runner-environment %}
147+
| `runner_environment`| The type of runner used by the job. Accepts the following values: `github-hosted` or `self-hosted`. |
148+
{%- endif %}
141149
| `workflow`| The name of the workflow. |
142150
{%- ifversion actions-oidc-custom-claims %}
143151
| `workflow_ref`| {% data reusables.actions.workflow-ref-description %} |
Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Making a GitHub App public or private
3-
intro: '{% data reusables.shortdesc.making-a-github-app-public-or-private %}'
3+
intro: 'When setting up a {% data variables.product.prodname_github_app %}, you can make it public so that other GitHub users or organizations can install the app, or private so that you can only install it on the account that owns the app.'
44
redirect_from:
55
- /apps/building-integrations/setting-up-and-registering-github-apps/about-installation-options-for-github-apps
66
- /apps/building-github-apps/installation-options-for-github-apps
@@ -18,24 +18,29 @@ topics:
1818
- GitHub Apps
1919
shortTitle: Manage app visibility
2020
---
21-
For authentication information, see "[AUTOTITLE](/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app)."
2221

23-
## Public installation flow
22+
## About visibility for {% data variables.product.prodname_github_app %}s
2423

25-
Public installation flows have a landing page to enable other people besides the app owner to install the app in their repositories. This link is provided in the "Public link" field when setting up your GitHub App. For more information, see "[AUTOTITLE](/apps/maintaining-github-apps/installing-github-apps)."
24+
You can make your {% data variables.product.prodname_github_app %} public or private. {% ifversion fpt %}If you set your {% data variables.product.prodname_github_app %} to public, any user on {% data variables.product.prodname_dotcom_the_website %} or {% data variables.product.prodname_ghe_cloud %} can install it. If you set your {% data variables.product.prodname_github_app %} to private, it can only be installed on the account that owns the app.
2625

27-
## Private installation flow
26+
{% elsif ghes %}If you set your {% data variables.product.prodname_github_app %} to public, anyone on your {% data variables.product.prodname_ghe_server %} instance can install it, but the app is not available outside of your instance. If you set your {% data variables.product.prodname_github_app %} to private, it can only be installed on the account that owns the app.
2827

29-
Private installation flows allow only the owner of a GitHub App to install it. Limited information about the GitHub App will still exist on a public page, but the **Install** button will only be available to organization administrators or the personal account if the GitHub App is owned by an individual account. Private GitHub Apps can only be installed on the user or organization account of the owner.
28+
{% elsif ghec %}If you set your {% data variables.product.prodname_github_app %} to public, and the {% data variables.product.prodname_github_app %} is owned by an {% data variables.product.prodname_emu %} account, accounts owned by your enterprise can install it, but the app cannot be installed on accounts outside of your enterprise. If a {% data variables.product.prodname_github_app %} is owned by an account that is not an {% data variables.product.prodname_emu %}, and the app is set to public, any user on {% data variables.product.prodname_dotcom_the_website %} or {% data variables.product.prodname_ghe_cloud %} can install the app. If you set your {% data variables.product.prodname_github_app %} to private, it can only be installed on the account that owns the app.{% endif %}
3029

31-
## Changing who can install your GitHub App
30+
{% ifversion fpt or ghec %}You can create a {% data variables.product.prodname_github_app %} from your individual user account and make it available for organization accounts to install. You do not need an enterprise plan or an organization account to create a {% data variables.product.prodname_github_app %} for organizations even if the organization is owned by an enterprise on {% data variables.product.prodname_ghe_cloud %}.{% endif %}
3231

33-
To change who can install the GitHub App:
32+
If you want to make your app available to {% ifversion ghes %}other {% endif %}{% data variables.product.prodname_ghe_server %} instances, then you need to use an app manifest. The {% data variables.product.prodname_ghe_server %} instance will create the app from the manifest and provide you with the required information. For more information, see "[AUTOTITLE](/developers/apps/building-github-apps/creating-a-github-app-from-a-manifest)."
3433

35-
{% data reusables.user-settings.access_settings %}
36-
{% data reusables.user-settings.developer_settings %}
37-
{% data reusables.user-settings.github_apps %}
38-
3. Select the GitHub App whose installation option you want to change.
39-
{% data reusables.user-settings.github_apps_advanced %}
40-
5. Depending on the installation option of your GitHub App, click either **Make public** or **Make private**.
41-
6. Depending on the installation option of your GitHub App, click either **Yes, make this GitHub App public** or **Yes, make this GitHub App {% ifversion fpt or ghec %}internal{% else %}private{% endif %}**.
34+
If it is important for {% ifversion ghes %}other {% endif %}{% data variables.product.prodname_ghe_server %} users to be able to use your tool, consider using {% data variables.product.prodname_actions %} instead of a {% data variables.product.prodname_github_app %}. Public actions are available on {% data variables.product.prodname_ghe_server %} instances with GitHub Connect. For more information, see "[AUTOTITLE](/github-ae@latest/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect)" and "[AUTOTITLE](/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/about-github-actions-for-enterprises)."
35+
36+
For information about changing the visibility of an existing {% data variables.product.prodname_github_app %}, see "[AUTOTITLE](/apps/maintaining-github-apps/modifying-a-github-app)."
37+
38+
### Public installation flow
39+
40+
Public {% data variables.product.prodname_github_apps %} have a landing page with an **Install** button, so that other people can install the app in their repositories. If you don't want to use the default landing page, you can modify the "Public link" field on the settings page for your {% data variables.product.prodname_github_app %}. For more information, see "[AUTOTITLE](/apps/maintaining-github-apps/modifying-a-github-app)."
41+
42+
{% ifversion fpt or ghec %}If your {% data variables.product.prodname_github_app %} is public to all users on {% data variables.product.prodname_dotcom_the_website %}, you can also choose to publish it to {% data variables.product.prodname_marketplace %}. For more information, see "[AUTOTITLE](/apps/publishing-apps-to-github-marketplace/github-marketplace-overview/about-github-marketplace)."{% endif %}
43+
44+
### Private installation flow
45+
46+
Private {% data variables.product.prodname_github_apps %} can only be installed on the user or organization account of the app owner. Limited information about the app will exist on a landing page for the app, but the **Install** button will only be available to organization owners and app managers for the organization that owns the app, or the personal account if the {% data variables.product.prodname_github_app %} is owned by an individual account.

content/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Because you have not enabled overages, your next attempt to create a workflow ar
3737
Anyone can manage the spending limit for {% data variables.product.prodname_actions %} for their own personal account.
3838

3939
{% data reusables.user-settings.access_settings %}
40-
{% data reusables.user-settings.billing_plans %}
40+
{% data reusables.user-settings.billing_plans_spending %}
4141
{% data reusables.dotcom_billing.manage-spending-limit %}
4242
{% data reusables.dotcom_billing.monthly-spending-limit %}
4343
{% data reusables.dotcom_billing.update-spending-limit %}

content/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ Enterprise owners and billing managers can view {% data variables.product.prodna
5050
{% data reusables.enterprise-accounts.access-enterprise %}
5151
{% data reusables.enterprise-accounts.settings-tab %}
5252
{% data reusables.enterprise-accounts.billing-tab %}
53-
1. Under "Actions", view your usage minutes.
53+
1. Under "Actions monthly usage," view your usage minutes.
54+
55+
You can expand this section to show a breakdown of the usage by runner type.
56+
5457
1. Under your usage minutes, view details of usage of data transfer by each organization in your enterprise account.
5558
{% data reusables.dotcom_billing.actions-packages-storage-enterprise-account %}
5659
{% data reusables.enterprise-accounts.actions-packages-report-download-enterprise-accounts %}

content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you purchased {% data variables.product.prodname_enterprise %} through a Micr
3636
You can set a spending limit for {% data variables.product.prodname_github_codespaces %} for your own personal account.
3737

3838
{% data reusables.user-settings.access_settings %}
39-
{% data reusables.user-settings.billing_plans %}
39+
{% data reusables.user-settings.billing_plans_spending %}
4040
{% data reusables.dotcom_billing.manage-spending-limit %}
4141
{% data reusables.codespaces.monthly-spending-limit-codespaces %}
4242
{% data reusables.dotcom_billing.update-spending-limit %}

content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,26 @@ You can set up a {% data variables.product.prodname_copilot_for_business %} subs
2525

2626
Before you can start using {% data variables.product.prodname_copilot_business_short %} in your enterprise, you will need to set up a subscription.
2727

28+
### Customers under a Microsoft Enterprise Agreement
29+
30+
{% data reusables.copilot.signup-procedure-enterprise-msft-ea %}
31+
32+
### Customers under a direct GitHub contract
33+
2834
{% data reusables.copilot.signup-procedure-enterprise %}
2935

3036
{% endif %}
37+
38+
{% ifversion fpt %}
39+
3140
## Setting up a {% data variables.product.prodname_copilot_business_short %} subscription for your organization
3241

3342
Before you can start using {% data variables.product.prodname_copilot %} in your organization account, you will need to set up a subscription.
3443

3544
{% data reusables.copilot.signup-procedure-org %}
3645

46+
{% endif %}
47+
3748
## Modifying your {% data variables.product.prodname_copilot_business_short %} subscription
3849

3950
{% ifversion ghec %}

content/billing/managing-billing-for-your-github-account/connecting-an-azure-subscription-to-your-enterprise.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connecting an Azure subscription to your enterprise
3-
intro: 'You can use your Microsoft Enterprise Agreement to enable and pay for {% data variables.product.prodname_actions %}, {% data variables.product.prodname_registry %}, and {% data variables.product.prodname_github_codespaces %} usage.'
3+
intro: 'You can use your Microsoft Enterprise Agreement to enable and pay for {% data variables.product.prodname_actions %}, {% data variables.product.prodname_registry %}, {% data variables.product.prodname_github_codespaces %} usage and {% data variables.product.prodname_copilot_business_short %}.'
44
redirect_from:
55
- /github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account/connecting-an-azure-subscription-to-your-enterprise
66
- /github/setting-up-and-managing-billing-and-payments-on-github/connecting-an-azure-subscription-to-your-enterprise
@@ -11,11 +11,11 @@ shortTitle: Connect an Azure subscription
1111
---
1212
## About Azure subscriptions and {% data variables.product.product_name %}
1313

14-
{% data reusables.enterprise-accounts.billing-microsoft-ea-overview %} For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions) and "[AUTOTITLE](/billing/managing-billing-for-github-packages/about-billing-for-github-packages)."
14+
{% data reusables.enterprise-accounts.billing-microsoft-ea-overview %} For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)," "[AUTOTITLE](/billing/managing-billing-for-github-packages/about-billing-for-github-packages)," and "[AUTOTITLE](/billing/managing-billing-for-github-copilot)."
1515

1616
{% note %}
1717

18-
**Note:** If your enterprise account is on a Microsoft Enterprise Agreement, connecting an Azure subscription is the only way to use {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} beyond the included amounts, or to use {% data variables.product.prodname_github_codespaces %} at all.
18+
**Note:** If your enterprise account is on a Microsoft Enterprise Agreement, connecting an Azure subscription is the only way to use {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} beyond the included amounts, or to use {% data variables.product.prodname_github_codespaces %} and {% data variables.product.prodname_copilot_business_short %} at all.
1919

2020
{% endnote %}
2121

@@ -36,7 +36,7 @@ To connect your Azure subscription, you must have owner permissions to the subsc
3636
1. Under "Payment Information", click **Add Azure Subscription**.
3737
1. To sign in to your Microsoft account, follow the prompts.
3838
1. Review the "Permissions requested" prompt. If you agree with the terms, click **Accept**.
39-
1. Under "Select a subscription", select the Azure Subscription ID that you want to connect to your enterprise.
39+
1. Under "Select a subscription", select the Azure subscription ID that you want to connect to your enterprise.
4040

4141
{% note %}
4242

content/billing/managing-billing-for-your-github-account/one-time-payments-for-customers-in-india.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Existing sponsorships will remain in place during this period and maintainers wi
5858
{% endnote %}
5959

6060
{% data reusables.user-settings.access_settings %}
61-
{% data reusables.user-settings.billing_plans %}
61+
{% data reusables.user-settings.billing_plans_payment %}
6262
1. At the top of the page, click **Pay now**.
6363
1. Review your billing and payment information.
6464
1. Optionally, if you need to make an edit, click **Edit** next to the relevant section.

content/billing/managing-your-github-billing-settings/adding-information-to-your-receipts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ Your receipts include your {% data variables.product.prodname_dotcom %} subscrip
3434
## Adding information to your personal account's receipts
3535

3636
{% data reusables.user-settings.access_settings %}
37-
{% data reusables.user-settings.billing_plans %}
38-
{% data reusables.user-settings.payment-info-link %}
37+
{% data reusables.user-settings.billing_plans_payment %}
3938
1. At the bottom of the page, next to "Additional information," click **Add information**.
4039

4140
![Screenshot of the "Additional information" section. A link, labeled "Add information", is highlighted with an orange outline.](/assets/images/help/billing/settings_billing_personal_add_extra.png)

content/billing/managing-your-github-billing-settings/viewing-your-payment-history-and-receipts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ shortTitle: View history & receipts
2323
## Viewing receipts for your personal account
2424

2525
{% data reusables.user-settings.access_settings %}
26-
{% data reusables.user-settings.billing_plans %}
26+
{% data reusables.user-settings.billing_plans_payment %}
2727
{% data reusables.dotcom_billing.view-payment-history %}
2828
{% data reusables.dotcom_billing.download_receipt %}
2929

0 commit comments

Comments
 (0)