Skip to content

Commit 79ca58c

Browse files
authored
Merge pull request #45251 from github/repo-sync
Repo sync
2 parents 1536153 + cea85df commit 79ca58c

9 files changed

Lines changed: 19 additions & 13 deletions

File tree

.github/workflows/changelog-agent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ jobs:
406406
407407
- name: Set up Node.js for Copilot CLI
408408
if: steps.check_parent.outputs.has_parent == 'true' && steps.check_existing.outputs.exists == 'false'
409-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
409+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
410410
with:
411411
node-version: 24
412412

.github/workflows/confirm-internal-staff-work-in-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Send Slack notification if a GitHub employee who isn't on the docs team opens an issue in public
7777
if: ${{ steps.membership_check.outputs.did_warn && github.repository == 'github/docs' }}
78-
uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
78+
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
7979
env:
8080
SLACK_MESSAGE: <@${{ github.actor }}> opened https://github.com/github/docs/issues/${{ github.event.number || github.event.issue.number }} publicly on the github/docs repo instead of a private repo. They have been notified via a new issue in the private repo to confirm this was intentional.
8181
SLACK_CHANNEL_ID: ${{ secrets.DOCS_OPEN_SOURCE_SLACK_CHANNEL_ID }}

.github/workflows/docs-review-collect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2424

2525
- name: Setup Node.js
26-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
26+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2727
with:
2828
node-version-file: 'package.json'
2929
cache: npm

.github/workflows/os-ready-for-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
exit 1
4949
5050
- name: Setup Node.js
51-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
51+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
5252
with:
5353
node-version-file: 'package.json'
5454
cache: npm

.github/workflows/package-lock-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2929

3030
- name: Setup Node.js
31-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
31+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3232
with:
3333
node-version-file: 'package.json'
3434
cache: npm

.github/workflows/ready-for-doc-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2828

2929
- name: Setup Node.js
30-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
30+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3131
with:
3232
node-version-file: 'package.json'
3333
cache: npm

.github/workflows/sync-sdk-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo "Fetched copilot-sdk@${SDK_SHA::7}"
6666
6767
- name: Setup Node.js
68-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
68+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
6969
with:
7070
node-version: 22
7171
cache: npm

content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi
3636
* `api.githubcopilot.com`
3737
* `uploads.github.com`
3838
* `user-images.githubusercontent.com`
39-
1. In your `copilot-setup-steps.yml` file, set the `runs-on` attribute to your ARC-managed scale set name. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/customize-the-agent-environment#preinstalling-tools-or-dependencies-in-copilots-environment).
39+
1. In your repository's `.github/workflows/copilot-code-review.yml` file, set the `runs-on` attribute to your ARC-managed scale set name.
4040

4141
```yaml
4242
# ...
@@ -47,6 +47,9 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi
4747
# ...
4848
```
4949

50+
> [!NOTE]
51+
> If your repository does not have a `copilot-code-review.yml` file, {% data variables.copilot.copilot_code-review_short %} will use the `copilot-setup-steps.yml` file instead. For more information about `copilot-setup-steps.yml`, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/customize-the-agent-environment#preinstalling-tools-or-dependencies-in-copilots-environment).
52+
5053
## Upgrade to larger {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runners
5154

5255
By default, {% data variables.copilot.copilot_code-review_short %} runs on a standard {% data variables.product.prodname_actions %} runner. Larger runners provide better performance (CPU and memory), more disk space, and advanced features like Azure private networking. See [AUTOTITLE](/actions/concepts/runners/larger-runners).
@@ -61,7 +64,7 @@ By default, {% data variables.copilot.copilot_code-review_short %} runs on a sta
6164
* `uploads.github.com`
6265
* `user-images.githubusercontent.com`
6366

64-
1. In your `copilot-setup-steps.yml` file, set the `runs-on` attribute to the label for the larger runners you want {% data variables.copilot.copilot_code-review_short %} to use. See [AUTOTITLE](/actions/how-tos/manage-runners/larger-runners/use-larger-runners).
67+
1. In your repository's `copilot-code-review.yml` file, set the `runs-on` attribute to the label for the larger runners you want {% data variables.copilot.copilot_code-review_short %} to use. See [AUTOTITLE](/actions/how-tos/manage-runners/larger-runners/use-larger-runners).
6568

6669
```yaml
6770
# ...
@@ -72,12 +75,15 @@ By default, {% data variables.copilot.copilot_code-review_short %} runs on a sta
7275
# ...
7376
```
7477

78+
> [!NOTE]
79+
> If your repository does not have a `copilot-code-review.yml` file, {% data variables.copilot.copilot_code-review_short %} will use the `copilot-setup-steps.yml` file instead.
80+
7581
## Configure runners at the organization level
7682

7783
Organization owners can set a default runner type for {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_cloud_agent %} across all repositories in the organization, and control whether individual repositories can override this default.
7884

7985
> [!NOTE]
80-
> The organization-level runner type applies to both {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_cloud_agent %}. Repositories can still override the organization default using `copilot-setup-steps.yml` unless you disable **Allow repositories to customize the runner type**. For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/configure-runner-for-coding-agent#preventing-repositories-from-customizing-the-runner-type).
86+
> The organization-level runner type applies to both {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_cloud_agent %}. Repositories can still override the organization default for code review using `copilot-code-review.yml` (or `copilot-setup-steps.yml`) unless you disable **Allow repositories to customize the runner type**. For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/configure-runner-for-coding-agent#preventing-repositories-from-customizing-the-runner-type).
8187
8288
This is useful if your organization requires all code reviews and {% data variables.copilot.copilot_cloud_agent_short %} tasks to run on specific runners, for example, to use larger runners for better performance or self-hosted runners that have access to internal resources.
8389

@@ -88,4 +94,4 @@ This is useful if your organization requires all code reviews and {% data variab
8894
1. In the "Edit runner type" dialog, select the runner type to use by default across your organization, then click **Save runner selection**.
8995
* **Standard {% data variables.product.prodname_dotcom %} runner**: {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_cloud_agent %} will use the standard {% data variables.product.prodname_dotcom %}-hosted runner.
9096
* **Labeled runner**: {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_cloud_agent %} will use a runner matching the label you specify.
91-
1. Optionally, to prevent individual repositories from overriding the organization-level runner configuration using their `copilot-setup-steps.yml` file, disable **Allow repositories to customize the runner type**.
97+
1. Optionally, to prevent individual repositories from overriding the organization-level runner configuration using their `copilot-code-review.yml` or `copilot-setup-steps.yml` file, disable **Allow repositories to customize the runner type**.

src/frame/components/page-header/DocsSecondaryBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const DocsSecondaryBar = () => {
3939
className={cx(styles.desktopOnly, 'color-fg-muted')}
4040
variant="invisible"
4141
size="small"
42-
icon={collapsed ? SidebarExpandIcon : SidebarCollapseIcon}
42+
icon={collapsed ? SidebarCollapseIcon : SidebarExpandIcon}
4343
aria-label={collapsed ? t('expand_sidebar') : t('collapse_sidebar')}
4444
aria-expanded={!collapsed}
4545
onClick={toggleCollapsed}
@@ -50,7 +50,7 @@ export const DocsSecondaryBar = () => {
5050
className={cx(styles.mobileOnly, 'color-fg-muted')}
5151
variant="invisible"
5252
size="small"
53-
icon={mobileNavOpen ? SidebarCollapseIcon : SidebarExpandIcon}
53+
icon={mobileNavOpen ? SidebarExpandIcon : SidebarCollapseIcon}
5454
aria-label={mobileNavOpen ? t('collapse_sidebar') : t('expand_sidebar')}
5555
aria-expanded={mobileNavOpen}
5656
onClick={toggleMobileNav}

0 commit comments

Comments
 (0)