diff --git a/.github/workflows/changelog-agent.yml b/.github/workflows/changelog-agent.yml index 6a77c5582ca7..8421b78f0165 100644 --- a/.github/workflows/changelog-agent.yml +++ b/.github/workflows/changelog-agent.yml @@ -406,7 +406,7 @@ jobs: - name: Set up Node.js for Copilot CLI if: steps.check_parent.outputs.has_parent == 'true' && steps.check_existing.outputs.exists == 'false' - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24 diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index bdef245fe393..cd2ac07da12f 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -75,7 +75,7 @@ jobs: - name: Send Slack notification if a GitHub employee who isn't on the docs team opens an issue in public if: ${{ steps.membership_check.outputs.did_warn && github.repository == 'github/docs' }} - uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3 + uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 env: 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. SLACK_CHANNEL_ID: ${{ secrets.DOCS_OPEN_SOURCE_SLACK_CHANNEL_ID }} diff --git a/.github/workflows/docs-review-collect.yml b/.github/workflows/docs-review-collect.yml index b3c49b9d8278..8454a38eaa35 100644 --- a/.github/workflows/docs-review-collect.yml +++ b/.github/workflows/docs-review-collect.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version-file: 'package.json' cache: npm diff --git a/.github/workflows/os-ready-for-review.yml b/.github/workflows/os-ready-for-review.yml index fc4f7a5ffbfd..e8450aceefac 100644 --- a/.github/workflows/os-ready-for-review.yml +++ b/.github/workflows/os-ready-for-review.yml @@ -48,7 +48,7 @@ jobs: exit 1 - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version-file: 'package.json' cache: npm diff --git a/.github/workflows/package-lock-lint.yml b/.github/workflows/package-lock-lint.yml index da7f7cae419e..502e5d6ac05f 100644 --- a/.github/workflows/package-lock-lint.yml +++ b/.github/workflows/package-lock-lint.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version-file: 'package.json' cache: npm diff --git a/.github/workflows/ready-for-doc-review.yml b/.github/workflows/ready-for-doc-review.yml index 3b465702ba15..ad3cdf537114 100644 --- a/.github/workflows/ready-for-doc-review.yml +++ b/.github/workflows/ready-for-doc-review.yml @@ -27,7 +27,7 @@ jobs: token: ${{ secrets.DOCS_BOT_PAT_BASE }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version-file: 'package.json' cache: npm diff --git a/.github/workflows/sync-sdk-docs.yml b/.github/workflows/sync-sdk-docs.yml index d94684809603..e9ed35fc0810 100644 --- a/.github/workflows/sync-sdk-docs.yml +++ b/.github/workflows/sync-sdk-docs.yml @@ -65,7 +65,7 @@ jobs: echo "Fetched copilot-sdk@${SDK_SHA::7}" - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 22 cache: npm diff --git a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md index ed3af46734fb..6406095b4f91 100644 --- a/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md +++ b/content/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners.md @@ -36,7 +36,7 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi * `api.githubcopilot.com` * `uploads.github.com` * `user-images.githubusercontent.com` -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). +1. In your repository's `.github/workflows/copilot-code-review.yml` file, set the `runs-on` attribute to your ARC-managed scale set name. ```yaml # ... @@ -47,6 +47,9 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi # ... ``` +> [!NOTE] +> 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). + ## Upgrade to larger {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runners 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 * `uploads.github.com` * `user-images.githubusercontent.com` -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). +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). ```yaml # ... @@ -72,12 +75,15 @@ By default, {% data variables.copilot.copilot_code-review_short %} runs on a sta # ... ``` + > [!NOTE] + > 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. + ## Configure runners at the organization level 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. > [!NOTE] -> 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). +> 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). 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. @@ -88,4 +94,4 @@ This is useful if your organization requires all code reviews and {% data variab 1. In the "Edit runner type" dialog, select the runner type to use by default across your organization, then click **Save runner selection**. * **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. * **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. -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**. +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**. diff --git a/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md b/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md index 11420c06a13e..591a3d5cd2b8 100644 --- a/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md +++ b/data/reusables/enterprise-migration-tool/github-pat-required-scopes.md @@ -8,4 +8,4 @@ Task | Organization owner | Migrator Assigning the migrator role for repository migrations | `admin:org` | {% octicon "dash" aria-label="Not applicable" %} Running a repository migration (destination organization) | `repo`, `admin:org`, `workflow` | `repo`, `read:org`, `workflow` Downloading a migration log | `repo`, `admin:org`, `workflow` | `repo`, `read:org`, `workflow` -Reclaiming mannequins | `admin:org` | {% octicon "dash" aria-label="Not applicable" %} +Reclaiming mannequins | `repo`, `admin:org`, `workflow` | {% octicon "dash" aria-label="Not applicable" %} diff --git a/src/frame/components/page-header/DocsSecondaryBar.tsx b/src/frame/components/page-header/DocsSecondaryBar.tsx index 549e3a69d2df..de397711f523 100644 --- a/src/frame/components/page-header/DocsSecondaryBar.tsx +++ b/src/frame/components/page-header/DocsSecondaryBar.tsx @@ -39,7 +39,7 @@ export const DocsSecondaryBar = () => { className={cx(styles.desktopOnly, 'color-fg-muted')} variant="invisible" size="small" - icon={collapsed ? SidebarExpandIcon : SidebarCollapseIcon} + icon={collapsed ? SidebarCollapseIcon : SidebarExpandIcon} aria-label={collapsed ? t('expand_sidebar') : t('collapse_sidebar')} aria-expanded={!collapsed} onClick={toggleCollapsed} @@ -50,7 +50,7 @@ export const DocsSecondaryBar = () => { className={cx(styles.mobileOnly, 'color-fg-muted')} variant="invisible" size="small" - icon={mobileNavOpen ? SidebarCollapseIcon : SidebarExpandIcon} + icon={mobileNavOpen ? SidebarExpandIcon : SidebarCollapseIcon} aria-label={mobileNavOpen ? t('collapse_sidebar') : t('expand_sidebar')} aria-expanded={mobileNavOpen} onClick={toggleMobileNav}