Skip to content

Commit dae83f7

Browse files
authored
Merge pull request #46346 from github/repo-sync
Repo sync
2 parents 9f6e816 + f03cbb9 commit dae83f7

97 files changed

Lines changed: 5100 additions & 162 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ jobs:
5555
5656
const issueNo = context.number || context.issue.number
5757
58-
await github.rest.issues.create({
58+
const confirmationIssue = await github.rest.issues.create({
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`,
6262
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
66+
core.setOutput('confirmation_issue_url', confirmationIssue.data.html_url);
6667
core.setOutput('did_warn', 'true')
6768
6869
- name: Resolve Slack user ID from username
@@ -218,7 +219,7 @@ jobs:
218219
errors: true
219220
payload: |
220221
channel: ${{ steps.slack_user.outputs.slack_user_id }}
221-
text: ${{ toJSON(format('You opened {0} publicly in github/docs instead of the private repo. An internal confirmation issue was created.', github.event.issue.html_url || github.event.pull_request.html_url)) }}
222+
text: ${{ toJSON(format('You opened {0} publicly in github/docs instead of the private repo. An internal confirmation issue was created. <{1}|View the issue>.', github.event.issue.html_url || github.event.pull_request.html_url, steps.membership_check.outputs.confirmation_issue_url)) }}
222223
223224
- name: Log Slack DM result
224225
if: ${{ !cancelled() && steps.membership_check.outputs.did_warn == 'true' }}

‎content/migrations/elm/migrate-your-repository.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The operator must authenticate to both the source and destination enterprise wit
5050
1. On **{% data variables.product.prodname_ghe_server %}**, create a {% data variables.product.pat_v1 %} and select the required scope:
5151

5252
* `admin:enterprise`
53+
* `admin:org`
5354

5455
You will use this token as the **Source token** when configuring the {% data variables.product.prodname_elm_cli %}.
5556

‎content/migrations/elm/troubleshooting.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ curl --silent --show-error --output /dev/null --dump-header - \
154154
"$TARGET_API_URL/user"
155155
```
156156

157-
Each request should return `200 OK`. The `X-OAuth-Scopes` response header should include `admin:enterprise`.
157+
Each request should return `200 OK`. The `X-OAuth-Scopes` response header should include `admin:enterprise` and `admin:org`.
158158

159159
If `/user` returns `200 OK` but an {% data variables.product.prodname_elm %} command returns `401 Bad credentials`, the CLI may have a different token or URL stored. Run `gh elm configure` again and carefully associate each token with its corresponding endpoint.
160160

‎content/rest/dependency-graph/index.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
title: REST API endpoints for the dependency graph
33
shortTitle: Dependency graph
44
allowTitleToDifferFromFilename: true
5-
intro: Use the REST API to view dependency changes and their security impact on your repository.
5+
intro: >-
6+
Use the REST API to view dependency changes and their security impact on your
7+
repository.
68
versions:
79
fpt: '*'
810
ghes: '*'
911
ghec: '*'
1012
children:
1113
- /dependency-review
1214
- /dependency-submission
15+
- /license-compliance
1316
- /sboms
1417
redirect_from:
1518
- /rest/reference/dependency-graph
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: REST API endpoints for license compliance
3+
shortTitle: License compliance
4+
intro: Use the REST API to check packages against a repository's license compliance policy.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
ghec: '*'
7+
autogenerated: rest
8+
allowTitleToDifferFromFilename: true
9+
category:
10+
- Secure code and manage vulnerabilities
11+
---
12+
13+
<!-- Content after this section is automatically generated -->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
| Runner Size | Architecture| Processor (CPU)| Memory (RAM) | Storage (SSD) | Workflow label |
22
| ------------| ------------| -------------- | ------------- | ------------- |--------------------------------------------------------------------------------------------------------------------------------------------------|
33
| Large | Intel | 12 | 30 GB | 14 GB | <code>macos-latest-large</code>, <code>macos-14-large</code>, <code>macos-15-large</code> (latest), <code>macos-26-large</code> |
4-
| XLarge | arm64 (M2) | 5 (+ 8 GPU hardware acceleration) | 14 GB | 14 GB | <code>macos-latest-xlarge</code>, <code>macos-14-xlarge</code>, <code>macos-15-xlarge</code> (latest), <code>macos-26-xlarge</code>, <code>xcode-27-xlarge</code> ({% data variables.release-phases.public_preview_caps %}) |
4+
| XLarge | arm64 (M2) | 5 (+ 8 GPU hardware acceleration) | 14 GB | 14 GB | <code>macos-latest-xlarge</code>, <code>macos-14-xlarge</code>, <code>macos-15-xlarge</code> (latest), <code>macos-26-xlarge</code>, <code>xcode-27-xlarge</code> |

‎data/reusables/actions/supported-github-runners.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ For public repositories, jobs using the workflow labels shown in the table below
8686
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md">macos-14</a></code>,
8787
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-15</a></code>,
8888
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md">macos-26</a></code>,
89-
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/xcode-27-arm64-Readme.md">xcode-27</a></code> ({% data variables.release-phases.public_preview_caps %})
89+
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/xcode-27-arm64-Readme.md">xcode-27</a></code>
9090
</td>
9191
</tr>
9292
</tbody>
@@ -180,7 +180,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
180180
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md">macos-14</a></code>,
181181
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md">macos-15</a></code>,
182182
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md">macos-26</a></code>,
183-
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/xcode-27-arm64-Readme.md">xcode-27</a></code> ({% data variables.release-phases.public_preview_caps %})
183+
<code><a href="https://github.com/actions/runner-images/blob/main/images/macos/xcode-27-arm64-Readme.md">xcode-27</a></code>
184184
</td>
185185
</tr>
186186
</tbody>

‎src/frame/components/ui/MiniTocs/Minitocs.module.scss‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@
1111
// Align the active indicator with the In this article heading. Brand wraps
1212
// each item in a 2px-padded div, so cancel that offset.
1313
margin-left: -2px;
14-
// Long TOC headings truncate to one line; the Up next title wraps instead.
14+
// Long TOC headings wrap onto multiple lines rather than truncating.
1515
display: block;
16-
white-space: nowrap;
17-
overflow: hidden;
18-
text-overflow: ellipsis;
16+
overflow-wrap: anywhere;
1917

2018
// Brand wraps the visible label in labelArea and label spans. Set text size
21-
// and truncation there so the ellipsis renders.
19+
// there too.
2220
span {
2321
font-size: var(--brand-text-size-100, 0.875rem);
24-
overflow: hidden;
25-
text-overflow: ellipsis;
2622
}
2723

2824
// Brand sizes labelArea for 16px text with a 31px min-height. Our 14px text
@@ -34,8 +30,8 @@
3430
min-width: 0;
3531
}
3632

37-
// The inner label is the bit that actually truncates; as a flex child it
38-
// needs min-width: 0 to shrink below its content width.
33+
// As a flex child the inner label needs min-width: 0 to shrink below its
34+
// content width so it wraps.
3935
span span {
4036
display: block;
4137
min-width: 0;

‎src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9593,6 +9593,21 @@
95939593
}
95949594
]
95959595
},
9596+
"repository_license_policy": {
9597+
"title": "Repository license policy",
9598+
"displayTitle": "Repository permissions for \"Repository license policy\"",
9599+
"permissions": [
9600+
{
9601+
"category": "dependency-graph",
9602+
"slug": "check-license-compliance-for-packages",
9603+
"subcategory": "license-compliance",
9604+
"verb": "post",
9605+
"requestPath": "/repos/{owner}/{repo}/license-compliance/package-checks",
9606+
"additional-permissions": false,
9607+
"access": "read"
9608+
}
9609+
]
9610+
},
95969611
"repository_advisories": {
95979612
"title": "Repository security advisories",
95989613
"displayTitle": "Repository permissions for \"Repository security advisories\"",

‎src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,6 +2907,12 @@
29072907
"subcategory": "dependency-submission",
29082908
"verb": "post",
29092909
"requestPath": "/repos/{owner}/{repo}/dependency-graph/snapshots"
2910+
},
2911+
{
2912+
"slug": "check-license-compliance-for-packages",
2913+
"subcategory": "license-compliance",
2914+
"verb": "post",
2915+
"requestPath": "/repos/{owner}/{repo}/license-compliance/package-checks"
29102916
}
29112917
],
29122918
"deploy-keys": [

0 commit comments

Comments
 (0)