Skip to content

Commit

Permalink
Merge pull request #34492 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Sep 4, 2024
2 parents 9d15df4 + 0e984ae commit 22bdcc7
Show file tree
Hide file tree
Showing 10 changed files with 9,084 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Enterprise owners can prevent {% data variables.product.pat_v1_plural %} from ac
{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.enterprise-accounts.policies-tab %}
1. Under {% octicon "law" aria-hidden="true" %} **Policies**, click **{% data variables.product.pat_generic_caps_plural %}**.
1. Under **Restrict {% data variables.product.pat_v1_plural %} from accessing your organizations**, select the option that meets your needs:
{% ifversion tabbed-pat-settings-ui %} 1. Select the **Tokens (classic)** tab to access the {% data variables.product.pat_v1_plural %} settings.
{% endif %}1. Under **Restrict {% data variables.product.pat_v1_plural %} from accessing your organizations**, select the option that meets your needs:
* **Allow organizations to configure {% data variables.product.pat_v1_plural %} access requirements**: Each organization owned by the enterprise can decide whether to restrict access by {% data variables.product.pat_v1_plural %}.
* **Restrict access via {% data variables.product.pat_v1_plural %}**: {% data variables.product.pat_v1_caps_plural %} cannot access the enterprise or organizations owned by the enterprise. SSH keys created by {% data variables.product.pat_v1_plural %} will continue to work. Organizations cannot override this setting.
* **Allow access via {% data variables.product.pat_v1_plural %}**: {% data variables.product.pat_v1_caps_plural %} can access the enterprise and organizations owned by the enterprise. Organizations cannot override this setting.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Organization owners can prevent {% data variables.product.pat_v1_plural %} from
{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
1. In the left sidebar, under **{% octicon "key" aria-hidden="true" %} {% data variables.product.pat_generic_caps %}s**, click **Settings**.
1. Under **{% data variables.product.pat_v1_caps %}**, select the option that meets your needs:
{% ifversion tabbed-pat-settings-ui %} 1. Select the **Tokens (classic)** tab to access the {% data variables.product.pat_v1_plural %} settings.
{% endif %}1. Under **{% data variables.product.pat_v1_caps %}**, select the option that meets your needs:
* **Allow access via {% data variables.product.pat_v1_plural %}**: {% data variables.product.pat_v1_caps_plural %} can access resources owned by the organization.
* **Restrict access via {% data variables.product.pat_v1_plural %}**: {% data variables.product.pat_v1_caps_plural %} cannot access resources owned by the organization. SSH keys created by {% data variables.product.pat_v1_plural %} will continue to work.
1. Click **Save**.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ If you put your README file in your repository's hidden `.github`, root, or `doc

If a repository contains more than one README file, then the file shown is chosen from locations in the following order: the `.github` directory, then the repository's root directory, and finally the `docs` directory.

When your README is viewed on GitHub, any content beyond 500 KiB will be truncated.

{% data reusables.profile.profile-readme %}

## Auto-generated table of contents for README files
Expand Down
6 changes: 6 additions & 0 deletions data/features/tabbed-pat-settings-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Reference: #52010
# UI change for tabbed settings pages for enterprise and orgs.
versions:
fpt: '*'
ghec: '*'
ghes: '>=3.15'
3,707 changes: 3,707 additions & 0 deletions src/audit-logs/data/ghes-3.15/enterprise.json

Large diffs are not rendered by default.

3,442 changes: 3,442 additions & 0 deletions src/audit-logs/data/ghes-3.15/organization.json

Large diffs are not rendered by default.

1,912 changes: 1,912 additions & 0 deletions src/audit-logs/data/ghes-3.15/user.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"apiRequestEvent": "This event is only available via audit log streaming."
},
"sha": "1edaa64f5136ea30fb0de04ac67d03a25120684d"
"sha": "0da185a95ffe0bea6a17eb08ac06a03b5729e751"
}
6 changes: 3 additions & 3 deletions src/ghes-releases/lib/enterprise-dates.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@
},
"3.9": {
"releaseDate": "2023-06-08",
"deprecationDate": "2024-07-09"
"deprecationDate": "2024-07-26"
},
"3.10": {
"releaseDate": "2023-08-08",
"deprecationDate": "2024-08-29"
"deprecationDate": "2024-09-24"
},
"3.11": {
"releaseDate": "2023-11-14",
Expand All @@ -156,7 +156,7 @@
"deprecationDate": "2025-08-27"
},
"3.15": {
"releaseDate": "2024-10-29",
"releaseDate": "2024-11-12",
"deprecationDate": "2025-11-19"
},
"3.16": {
Expand Down
8 changes: 7 additions & 1 deletion src/links/components/LinkPreviewPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,13 @@ function fillPopover(
// All a.href attributes are always full absolute URLs, as a string.
// We assume that the "product landing page" is the first
// portion of all links.
productHeadLink.href = linkURL.pathname.split('/').slice(0, 3).join('/')
const regex = /^\/(?<lang>\w{2}\/)?(?<version>[\w-]+@[\w-.]+\/)?(?<product>[\w-]+\/)?/
const match = regex.exec(linkURL.pathname)
if (match?.groups) {
const { lang, version, product } = match.groups
const productURL = [lang, version, product].map((n) => n || '').join('')
productHeadLink.href = `${linkURL.origin}/${productURL}`
}
productHead.style.display = 'block'
}
} else {
Expand Down

0 comments on commit 22bdcc7

Please sign in to comment.