Skip to content

Remove duplicate reusable inGitHub-hosted runners concept page#44044

Open
marekdkropiewnicki-dotcom wants to merge 1 commit intogithub:mainfrom
marekdkropiewnicki-dotcom:patch-2
Open

Remove duplicate reusable inGitHub-hosted runners concept page#44044
marekdkropiewnicki-dotcom wants to merge 1 commit intogithub:mainfrom
marekdkropiewnicki-dotcom:patch-2

Conversation

@marekdkropiewnicki-dotcom
Copy link
Copy Markdown

Why

content/actions/concepts/runners/github-hosted-runners.md includes the reusables.actions.enterprise-github-hosted-runners reusable twice — once before the ## Overview of GitHub-hosted runners heading and again immediately after it — causing the same banner to render twice on https://docs.github.com/en/actions/concepts/runners/github-hosted-runners.

What

Removes the second (duplicate) occurrence of the reusable. The first occurrence is unchanged.

No other edits.

Why:

Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

### Why

`content/actions/concepts/runners/github-hosted-runners.md` includes the
`reusables.actions.enterprise-github-hosted-runners` reusable twice — once
before the `## Overview of GitHub-hosted runners` heading and again
immediately after it — causing the same banner to render twice on
https://docs.github.com/en/actions/concepts/runners/github-hosted-runners.

### What

Removes the second (duplicate) occurrence of the reusable. The first
occurrence is unchanged.

No other edits.
Copilot AI review requested due to automatic review settings April 30, 2026 10:45
@welcome
Copy link
Copy Markdown

welcome Bot commented Apr 30, 2026

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
actions/concepts/runners/github-hosted-runners.md fpt
ghec
ghes@ 3.20 3.19 3.18 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.20 3.19 3.18 3.17 3.16 3.15 3.14

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a duplicated enterprise banner reusable from the GitHub-hosted runners concept article to prevent the banner from rendering twice on docs.github.com.

Changes:

  • Removed the second occurrence of {% data reusables.actions.enterprise-github-hosted-runners %} near the top of the page.
  • (Unintended) Modified the “Overview” heading text (plural → singular), which should likely be reverted.

## Overview of {% data variables.product.prodname_dotcom %}-hosted runners

{% data reusables.actions.enterprise-github-hosted-runners %}
## Overview of {% data variables.product.prodname_dotcom %}-hosted runner
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line uses {% data variables.product.prodname_dotcom %}, which is marked DO NOT USE in data/variables/product.yml (it outputs the same as variables.product.github). Since this line is being edited anyway, switch to {% data variables.product.github %} (or prodname_dotcom_the_website only if you truly need “GitHub.com”).

Suggested change
## Overview of {% data variables.product.prodname_dotcom %}-hosted runner
## Overview of {% data variables.product.github %}-hosted runner

Copilot uses AI. Check for mistakes.
## Overview of {% data variables.product.prodname_dotcom %}-hosted runners

{% data reusables.actions.enterprise-github-hosted-runners %}
## Overview of {% data variables.product.prodname_dotcom %}-hosted runner
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The heading was changed from “...-hosted runners” to singular “...-hosted runner”. This looks like an accidental typo and also changes the generated anchor, which can break existing bookmarks/links. Suggest reverting the heading text back to plural.

Suggested change
## Overview of {% data variables.product.prodname_dotcom %}-hosted runner
## Overview of {% data variables.product.prodname_dotcom %}-hosted runners

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants