diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2815b0d847e9..5368a43186a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -163,4 +163,7 @@ jobs: ENABLED_LANGUAGES: ${{ matrix.name == 'languages' && 'all' || '' }} ROOT: ${{ (matrix.name == 'fixtures' || matrix.name == 'article-api' || matrix.name == 'landings' ) && 'src/fixtures/fixtures' || '' }} TRANSLATIONS_FIXTURE_ROOT: ${{ (matrix.name == 'fixtures' || matrix.name == 'article-api') && 'src/fixtures/fixtures/translations' || '' }} + # Enable debug logging when "Re-run jobs with debug logging" is used in GitHub Actions UI + # This will output additional timing and path information to help diagnose timeout issues + RUNNER_DEBUG: ${{ runner.debug }} run: npm test -- src/${{ matrix.name }}/tests/ diff --git a/content/admin/managing-code-security/managing-supply-chain-security-for-your-enterprise/index.md b/content/admin/managing-code-security/managing-supply-chain-security-for-your-enterprise/index.md index ab81395a6bcf..74480480b15e 100644 --- a/content/admin/managing-code-security/managing-supply-chain-security-for-your-enterprise/index.md +++ b/content/admin/managing-code-security/managing-supply-chain-security-for-your-enterprise/index.md @@ -1,13 +1,12 @@ --- title: Managing supply chain security for your enterprise shortTitle: Supply chain security -intro: 'You can visualize, maintain, and secure the dependencies in your developers'' software supply chain.' +intro: You can visualize, maintain, and secure the dependencies in your developers' software supply chain. versions: ghes: '*' topics: - Enterprise children: - - /about-supply-chain-security-for-your-enterprise - /enabling-the-dependency-graph-for-your-enterprise - /viewing-the-vulnerability-data-for-your-enterprise - /configuring-dependabot-to-work-with-limited-internet-access diff --git a/content/admin/managing-code-security/securing-your-enterprise/index.md b/content/admin/managing-code-security/securing-your-enterprise/index.md index 600ed42b44cb..79b858f19605 100644 --- a/content/admin/managing-code-security/securing-your-enterprise/index.md +++ b/content/admin/managing-code-security/securing-your-enterprise/index.md @@ -12,7 +12,6 @@ topics: - Dependabot - Repositories children: - - /about-security-configurations - /applying-the-github-recommended-security-configuration-to-your-enterprise - /creating-a-custom-security-configuration-for-your-enterprise - /applying-a-custom-security-configuration-to-your-enterprise @@ -20,3 +19,4 @@ children: - /editing-a-custom-security-configuration - /deleting-a-custom-security-configuration --- + diff --git a/content/admin/managing-iam/provisioning-user-accounts-with-scim/user-provisioning-with-scim-on-ghes.md b/content/admin/managing-iam/provisioning-user-accounts-with-scim/user-provisioning-with-scim-on-ghes.md index 1e90c192a404..2f7a2718ab44 100644 --- a/content/admin/managing-iam/provisioning-user-accounts-with-scim/user-provisioning-with-scim-on-ghes.md +++ b/content/admin/managing-iam/provisioning-user-accounts-with-scim/user-provisioning-with-scim-on-ghes.md @@ -45,6 +45,8 @@ The following IdPs are partner IdPs. They offer an application that you can use When you use a single partner IdP for both authentication and provisioning, {% data variables.product.company_short %} provides support for the application on the partner IdP and the IdP's integration with {% data variables.product.prodname_dotcom %}. Support for PingFederate is in {% data variables.release-phases.public_preview %}. +We do not have a supported partner application when using Entra ID for Azure Government. + ### Other identity management systems If you cannot use a single partner IdP for both authentication and provisioning, you can use another identity management system or combination of systems. The system must: diff --git a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md index 909197f39f8d..989289f5d230 100644 --- a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md +++ b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md @@ -73,6 +73,8 @@ For more information about connecting Microsoft Entra ID (previously known as Az For more information about connecting Entra ID to your enterprise, see [Tutorial: Microsoft Entra SSO integration with GitHub Enterprise Server](https://learn.microsoft.com/en-us/entra/identity/saas-apps/github-ae-tutorial) in Microsoft Docs. +We do not have a supported partner application when using Entra ID for Azure Government. + ## Username considerations with SAML {% data reusables.enterprise_user_management.consider-usernames-for-external-authentication %} For more information, see [AUTOTITLE](/admin/identity-and-access-management/managing-iam-for-your-enterprise/username-considerations-for-external-authentication). diff --git a/content/billing/reference/index.md b/content/billing/reference/index.md index 63c969028970..37858423da95 100644 --- a/content/billing/reference/index.md +++ b/content/billing/reference/index.md @@ -23,6 +23,6 @@ children: - /product-usage-included - /roles-for-visual-studio - /supported-payment-methods + - /previous-billing-platform-endpoints contentType: reference --- - diff --git a/content/billing/reference/previous-billing-platform-endpoints.md b/content/billing/reference/previous-billing-platform-endpoints.md new file mode 100644 index 000000000000..39109a86dcd7 --- /dev/null +++ b/content/billing/reference/previous-billing-platform-endpoints.md @@ -0,0 +1,105 @@ +--- +title: Migrating from the endpoints used for the previous billing platform +shortTitle: Previous billing platform endpoints +intro: 'If your organization previously used the billing platform that predated metered billing, this article explains how to migrate existing usage reporting to the current billing usage endpoints.' +versions: + fpt: '*' + ghec: '*' +topics: + - Enterprise + - Billing + - REST +permissions: 'Enterprise owners, organization owners, and billing managers' +product: '{% data reusables.billing.enhanced-billing-platform-product %}' +contentType: reference +--- + + + + +After you transition to metered billing, the endpoints you used to get data from the previous billing platform will no longer return accurate usage information. + +You will need to upgrade all calls using the previous `/ACCOUNT-TYPE/NAME/settings/billing/PRODUCT` REST API endpoints to use the equivalent `/ACCOUNT-TYPE/NAME/settings/billing/usage` endpoint. + +## Changes in authentication + +If you used a {% data variables.product.pat_v2 %} to authenticate with the previous endpoints, you will need create a {% data variables.product.pat_v1 %} to authenticate with the new endpoint. + +In addition, you may want to use the new query parameters to specify a time period or cost center. + +## Calculating {% data variables.product.prodname_actions %} information from the new response data + +Example of the previous response + +```json +{"total_minutes_used": 305, "total_paid_minutes_used": 0, "included_minutes": 3000, "minutes_used_breakdown": { "UBUNTU": 205, "MACOS": 10, "WINDOWS": 90 } } +``` + +Example of the new response + +```json +{ "usageItems": [ { "date": "2023-08-01", "product": "Actions", "sku": "Actions Linux", "quantity": 100, "unitType": "minutes", "pricePerUnit": 0.008, "grossAmount": 0.8, "discountAmount": 0, "netAmount": 0.8, "organizationName": "GitHub", "repositoryName": "github/example"} ] } +``` + +To get the same values from the new response data: + +{% rowheaders %} + +| Previous property | Calculate from new API response | +|------ |----------- | +| `total_minutes_used` |
The organization name. The name is not case sensitive.
", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [], - "descriptionHTML": "Gets all custom property values that are set for an organization.
\nThe organization must belong to an enterprise.
\nAccess requirements:
\nread:org scopeResponse
", - "example": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ], - "schema": { - "type": "array", - "items": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - } - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "200", - "description": "OK
" - }, - { - "httpStatusCode": "403", - "description": "Forbidden
" - }, - { - "httpStatusCode": "404", - "description": "Resource not found
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties for organizations\" organization permissions": "read" - } - ] - } - }, - { - "serverUrl": "https://api.github.com", - "verb": "patch", - "requestPath": "/organizations/{org}/org-properties/values", - "title": "Create or update custom property values for an organization", - "category": "orgs", - "subcategory": "custom-properties-for-orgs", - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.
", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [ - { - "type": "array of objects", - "name": "properties", - "in": "body", - "description": "A list of custom property names and associated values to apply to the organization.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "property_name", - "description": "The name of the property
", - "isRequired": true - }, - { - "type": "null or string or array", - "name": "value", - "description": "The value assigned to the property
", - "isRequired": true - } - ] - } - ], - "descriptionHTML": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to null.
The organization must belong to an enterprise.
\nAccess requirements:
\nadmin:org scopeNo Content when custom property values are successfully created or updated
" - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "204", - "description": "No Content when custom property values are successfully created or updated
" - }, - { - "httpStatusCode": "403", - "description": "Forbidden
" - }, - { - "httpStatusCode": "404", - "description": "Resource not found
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties for organizations\" organization permissions": "write" - } - ] - } - } - ], "issue-types": [ { "serverUrl": "https://api.github.com", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 879e31fcdced..32fc2f8252dc 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -2150,7 +2150,7 @@ "fineGrainedPat": true, "permissions": [ { - "\"Administration\" repository permissions": "read" + "\"Actions\" repository permissions": "read" } ] } @@ -191094,7 +191094,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -191578,7 +191578,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -367144,7 +367144,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Removes all assigned enterprise roles from a team in an enterprise.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Removes all assigned enterprise roles from a team in an enterprise.
\nWarning
\n\nThis API is not available for Copilot Business for non-GHE.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Assigns an enterprise role to a team in an enterprise.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Assigns an enterprise role to a team in an enterprise.
\nWarning
\n\nThis API is not available for Copilot Business for non-GHE.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Removes an enterprise role from a team in an enterprise.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Removes an enterprise role from a team in an enterprise.
\nWarning
\n\nThis API is not available for Copilot Business for non-GHE.
\nTo use this endpoint, the authenticated user must be one of:
\nwrite_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Lists the teams that are assigned to an enterprise role.
\nTo use this endpoint, the authenticated user must be one of:
\nread_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) require the read:enterprise scope to access this endpoint.
Lists the teams that are assigned to an enterprise role.
\nWarning
\n\nThis API is not available for Copilot Business for non-GHE.
\nTo use this endpoint, the authenticated user must be one of:
\nread_enterprise_custom_enterprise_role in the enterprise.OAuth app tokens and personal access tokens (classic) require the read:enterprise scope to access this endpoint.
Conditions for an enterprise ruleset. The conditions object should contain either the organization_id or organization_name property and the repository_name or repository_property property. For branch and tag rulesets, the conditions object should also contain the ref_name property.
Conditions for an enterprise ruleset.\nThe conditions object supports either of the following combinations: - organization_id and repository_name - organization_id and repository_property - organization_name and repository_name - organization_name and repository_property - organization_property and repository_name - organization_property and repository_property\nFor branch and tag rulesets, the conditions object should also contain the ref_name property.
Conditions for an enterprise ruleset. The conditions object should contain either the organization_id or organization_name property and the repository_name or repository_property property. For branch and tag rulesets, the conditions object should also contain the ref_name property.
Conditions for an enterprise ruleset.\nThe conditions object supports either of the following combinations: - organization_id and repository_name - organization_id and repository_property - organization_name and repository_name - organization_name and repository_property - organization_property and repository_name - organization_property and repository_property\nFor branch and tag rulesets, the conditions object should also contain the ref_name property.