Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/link-check-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,30 @@ jobs:
fi

- name: Upload report artifact
if: failure()
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: external-link-report
path: artifacts/external-link-report.*
retention-days: 14
if-no-files-found: ignore

- name: Check if report exists
if: always()
id: check_report
run: |
if [ -f "artifacts/external-link-report.md" ]; then
echo "has_report=true" >> $GITHUB_OUTPUT
else
echo "has_report=false" >> $GITHUB_OUTPUT
echo "No broken link report generated - all links valid!"
fi

- name: Create issue if broken links found
if: failure()
if: always() && steps.check_report.outputs.has_report == 'true'
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
with:
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
repository: github/docs-content
title: '🌐 Broken External Links Report'
content-filepath: artifacts/external-link-report.md
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/link-check-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
if: matrix.language != 'en'
uses: ./.github/actions/clone-translations
with:
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
token: ${{ secrets.DOCS_BOT_PAT_BASE }}

- name: Check internal links
env:
Expand Down Expand Up @@ -125,14 +125,14 @@ jobs:
# Check if any reports exist
if ls reports/*.md 1> /dev/null 2>&1; then
echo "has_reports=true" >> $GITHUB_OUTPUT

# Combine all markdown reports
echo "# Internal Links Report" > combined-report.md
echo "" >> combined-report.md
echo "Generated: $(date -u +'%Y-%m-%d %H:%M UTC')" >> combined-report.md
echo "[Action run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> combined-report.md
echo "" >> combined-report.md

for report in reports/*.md; do
echo "---" >> combined-report.md
cat "$report" >> combined-report.md
Expand All @@ -147,7 +147,7 @@ jobs:
if: steps.combine.outputs.has_reports == 'true'
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
with:
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
repository: github/docs-content
title: '🔗 Broken Internal Links Report'
content-filepath: combined-report.md
Expand Down
87 changes: 87 additions & 0 deletions assets/images/social-cards/_convert-svgs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
#!/bin/bash

# Generate social card PNGs from template SVGs
# Requires:
# - librsvg (install with: brew install librsvg)
# - zopfli (install with: brew install zopfli)
# - Mona Sans font (install with: brew install --cask font-mona-sans)

set -e

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Check for required CLI tools
if ! command -v rsvg-convert &> /dev/null; then
echo "Error: rsvg-convert not found. Install with: brew install librsvg"
exit 1
fi

if ! command -v zopflipng &> /dev/null; then
echo "Error: zopflipng not found. Install with: brew install zopfli"
exit 1
fi

# Check for Mona Sans font
if ! fc-list | grep -qi "Mona Sans"; then
echo "Error: Mona Sans font not found. Install with: brew install --cask font-mona-sans"
exit 1
fi

# Labels to generate from template (filename:Label Text)
LABELS=(
"account-and-profile:Account"
"actions:Actions"
"admin:Admin"
"apps:Apps"
"authentication:Auth"
"billing:Billing"
"code-security:Security"
"codespaces:Codespaces"
"communities:Community"
"contributing:Contributing"
"copilot:Copilot"
"desktop:Desktop"
"discussions:Discussions"
"education:Education"
"enterprise-onboarding:Enterprise"
"get-started:Get Started"
"github-cli:GitHub CLI"
"github-models:Models"
"graphql:GraphQL"
"integrations:Integrations"
"issues:Issues"
"migrations:Migrations"
"nonprofit:Nonprofit"
"organizations:Orgs"
"packages:Packages"
"pages:Pages"
"pull-requests:Pull requests"
"repositories:Repositories"
"rest:REST"
"search-github:Search"
"site-policy:Site Policy"
"sponsors:Sponsors"
"subscriptions-and-notifications:Account"
"support:Support"
"webhooks:Webhooks"
)

# Generate default.png from _default.svg
echo "Converting _default.svg to default.png..."
rsvg-convert -w 1200 -h 628 "$SCRIPT_DIR/_default.svg" -o "$SCRIPT_DIR/default.png"
echo "Optimizing default.png with zopflipng..."
zopflipng -y "$SCRIPT_DIR/default.png" "$SCRIPT_DIR/default.png"

# Generate labeled PNGs from _template.svg
for entry in "${LABELS[@]}"; do
filename="${entry%%:*}"
label="${entry##*:}"
png="$SCRIPT_DIR/$filename.png"

echo "Generating $filename.png with label \"$label\"..."
sed "s/{{LABEL}}/$label/g" "$SCRIPT_DIR/_template.svg" | rsvg-convert -w 1200 -h 628 -o "$png"
echo "Optimizing $filename.png with zopflipng..."
zopflipng -y "$png" "$png"
done

echo "Done!"
37 changes: 37 additions & 0 deletions assets/images/social-cards/_default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions assets/images/social-cards/_template.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/social-cards/actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/authentication.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/billing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/social-cards/code-security.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/codespaces.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/communities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/contributing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/social-cards/copilot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/social-cards/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/discussions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/education.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/get-started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/github-cli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/github-models.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/graphql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/integrations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/social-cards/issues.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/migrations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/social-cards/nonprofit.png
Binary file added assets/images/social-cards/organizations.png
Binary file added assets/images/social-cards/packages.png
Binary file added assets/images/social-cards/pages.png
Binary file added assets/images/social-cards/pull-requests.png
Binary file added assets/images/social-cards/repositories.png
Binary file added assets/images/social-cards/rest.png
Binary file added assets/images/social-cards/search-github.png
Binary file added assets/images/social-cards/site-policy.png
Binary file added assets/images/social-cards/sponsors.png
Binary file added assets/images/social-cards/support.png
Binary file added assets/images/social-cards/webhooks.png
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ The following features are currently unavailable on {% data variables.enterprise

| Feature | Details | More information |
| :- | :- | :- |
| {% data variables.product.prodname_copilot_short %} Metrics API | Currently unavailable. | [AUTOTITLE](/rest/copilot/copilot-metrics) |
| {% data variables.product.prodname_github_codespaces %} | Currently unavailable. | [AUTOTITLE](/codespaces/quickstart) |
| macOS runners for {% data variables.product.prodname_actions %} | Currently unavailable. | [AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners) |
| Maven and Gradle support for {% data variables.product.prodname_registry %} | Currently unavailable. | [AUTOTITLE](/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Organization owners can change the parent of any team. Team maintainers can chan
> [!TIP]
> * You cannot change a team's parent to a secret team. For more information, see [AUTOTITLE](/organizations/organizing-members-into-teams/about-teams).
> * You cannot nest a parent team beneath one of its child teams.
> * Adding an existing child team to a new parent team removes it from its previous parent team.
{% data reusables.profile.access_org %}
{% data reusables.user-settings.access_org %}
Expand Down
2 changes: 0 additions & 2 deletions content/rest/copilot/copilot-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ You can use these endpoints to get a breakdown of aggregated metrics for various
* Breakdowns by language and IDE
* The option to view metrics for an enterprise, organization, or team

{% data reusables.copilot.metrics-api-ghecom %}

<!-- Content after this section is automatically generated -->
25 changes: 23 additions & 2 deletions data/reusables/actions/supported-github-runners.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
<tr>
<td>Linux</td>
<td>2</td>
<td>7 GB</td>
<td>8 GB</td>
<td>14 GB</td>
<td> x64 </td>
<td>
Expand All @@ -120,7 +120,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
<tr>
<td>Windows</td>
<td>2</td>
<td>7 GB</td>
<td>8 GB</td>
<td>14 GB</td>
<td> x64 </td>
<td>
Expand All @@ -129,6 +129,27 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">windows-2022</a></code>
</td>
</tr>
<tr>
<td>Linux</td>
<td>2</td>
<td>8 GB</td>
<td>14 GB</td>
<td> arm64 </td>
<td>
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-24-image.md">ubuntu-24.04-arm</a></code>,
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-22-image.md">ubuntu-22.04-arm</a></code>
</td>
</tr>
<tr>
<td>Windows</td>
<td>2</td>
<td>8 GB</td>
<td>14 GB</td>
<td> arm64 </td>
<td>
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md">windows-11-arm</a></code>
</td>
</tr>
<tr>
<td>macOS</td>
<td>4</td>
Expand Down
33 changes: 32 additions & 1 deletion src/assets/scripts/find-orphaned-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,42 @@ const EXCEPTIONS = new Set([
'assets/images/site/evergreens/sequoia.png',
'assets/images/site/evergreens/spruce.png',
'assets/images/site/evergreens/yew.png',
'assets/images/social-cards/account-and-profile.png',
'assets/images/social-cards/actions.png',
'assets/images/social-cards/admin.png',
'assets/images/social-cards/apps.png',
'assets/images/social-cards/authentication.png',
'assets/images/social-cards/billing.png',
'assets/images/social-cards/code-security.png',
'assets/images/social-cards/codespaces.png',
'assets/images/social-cards/communities.png',
'assets/images/social-cards/contributing.png',
'assets/images/social-cards/copilot.png',
'assets/images/social-cards/default.png',
'assets/images/social-cards/desktop.png',
'assets/images/social-cards/discussions.png',
'assets/images/social-cards/education.png',
'assets/images/social-cards/enterprise-onboarding.png',
'assets/images/social-cards/get-started.png',
'assets/images/social-cards/github-cli.png',
'assets/images/social-cards/github-models.png',
'assets/images/social-cards/graphql.png',
'assets/images/social-cards/integrations.png',
'assets/images/social-cards/issues.png',
'assets/images/social-cards/code-security.png',
'assets/images/social-cards/migrations.png',
'assets/images/social-cards/nonprofit.png',
'assets/images/social-cards/organizations.png',
'assets/images/social-cards/packages.png',
'assets/images/social-cards/pages.png',
'assets/images/social-cards/pull-requests.png',
'assets/images/social-cards/repositories.png',
'assets/images/social-cards/rest.png',
'assets/images/social-cards/search-github.png',
'assets/images/social-cards/site-policy.png',
'assets/images/social-cards/sponsors.png',
'assets/images/social-cards/subscriptions-and-notifications.png',
'assets/images/social-cards/support.png',
'assets/images/social-cards/webhooks.png',
// Hero images may not be used, but we keep them around for future use
'assets/images/banner-images/hero-1.png',
'assets/images/banner-images/hero-2.png',
Expand Down
Loading