diff --git a/.github/workflows/link-check-external.yml b/.github/workflows/link-check-external.yml index cb0bc35af3fd..663b0ab5a04a 100644 --- a/.github/workflows/link-check-external.yml +++ b/.github/workflows/link-check-external.yml @@ -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 diff --git a/.github/workflows/link-check-internal.yml b/.github/workflows/link-check-internal.yml index 6dc735d57ffb..ebd0b08765a8 100644 --- a/.github/workflows/link-check-internal.yml +++ b/.github/workflows/link-check-internal.yml @@ -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: @@ -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 @@ -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 diff --git a/assets/images/social-cards/_convert-svgs.sh b/assets/images/social-cards/_convert-svgs.sh new file mode 100755 index 000000000000..c317fe175859 --- /dev/null +++ b/assets/images/social-cards/_convert-svgs.sh @@ -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!" diff --git a/assets/images/social-cards/_default.svg b/assets/images/social-cards/_default.svg new file mode 100644 index 000000000000..09c966f62c1e --- /dev/null +++ b/assets/images/social-cards/_default.svg @@ -0,0 +1,37 @@ + diff --git a/assets/images/social-cards/_template.svg b/assets/images/social-cards/_template.svg new file mode 100644 index 000000000000..82d14ad1aef8 --- /dev/null +++ b/assets/images/social-cards/_template.svg @@ -0,0 +1,48 @@ + diff --git a/assets/images/social-cards/account-and-profile.png b/assets/images/social-cards/account-and-profile.png new file mode 100644 index 000000000000..77332cb01d66 Binary files /dev/null and b/assets/images/social-cards/account-and-profile.png differ diff --git a/assets/images/social-cards/actions.png b/assets/images/social-cards/actions.png index 0c992b7995cc..7331a4c583c8 100644 Binary files a/assets/images/social-cards/actions.png and b/assets/images/social-cards/actions.png differ diff --git a/assets/images/social-cards/admin.png b/assets/images/social-cards/admin.png new file mode 100644 index 000000000000..195f9dc29684 Binary files /dev/null and b/assets/images/social-cards/admin.png differ diff --git a/assets/images/social-cards/apps.png b/assets/images/social-cards/apps.png new file mode 100644 index 000000000000..024a88142325 Binary files /dev/null and b/assets/images/social-cards/apps.png differ diff --git a/assets/images/social-cards/authentication.png b/assets/images/social-cards/authentication.png new file mode 100644 index 000000000000..dc883334119c Binary files /dev/null and b/assets/images/social-cards/authentication.png differ diff --git a/assets/images/social-cards/billing.png b/assets/images/social-cards/billing.png new file mode 100644 index 000000000000..911c238615c4 Binary files /dev/null and b/assets/images/social-cards/billing.png differ diff --git a/assets/images/social-cards/code-security.png b/assets/images/social-cards/code-security.png index eb9dce059364..b199e3c8174b 100644 Binary files a/assets/images/social-cards/code-security.png and b/assets/images/social-cards/code-security.png differ diff --git a/assets/images/social-cards/codespaces.png b/assets/images/social-cards/codespaces.png new file mode 100644 index 000000000000..23f72395ec89 Binary files /dev/null and b/assets/images/social-cards/codespaces.png differ diff --git a/assets/images/social-cards/communities.png b/assets/images/social-cards/communities.png new file mode 100644 index 000000000000..d9e61ed6e5d3 Binary files /dev/null and b/assets/images/social-cards/communities.png differ diff --git a/assets/images/social-cards/contributing.png b/assets/images/social-cards/contributing.png new file mode 100644 index 000000000000..838299ad2c80 Binary files /dev/null and b/assets/images/social-cards/contributing.png differ diff --git a/assets/images/social-cards/copilot.png b/assets/images/social-cards/copilot.png index 4e44638c587e..8c4ee54c4a7a 100644 Binary files a/assets/images/social-cards/copilot.png and b/assets/images/social-cards/copilot.png differ diff --git a/assets/images/social-cards/default.png b/assets/images/social-cards/default.png index 5afef85bd1a8..de9ed55c9d9e 100644 Binary files a/assets/images/social-cards/default.png and b/assets/images/social-cards/default.png differ diff --git a/assets/images/social-cards/desktop.png b/assets/images/social-cards/desktop.png new file mode 100644 index 000000000000..81e18f4153ba Binary files /dev/null and b/assets/images/social-cards/desktop.png differ diff --git a/assets/images/social-cards/discussions.png b/assets/images/social-cards/discussions.png new file mode 100644 index 000000000000..a7f8916f6811 Binary files /dev/null and b/assets/images/social-cards/discussions.png differ diff --git a/assets/images/social-cards/education.png b/assets/images/social-cards/education.png new file mode 100644 index 000000000000..05264acec0c5 Binary files /dev/null and b/assets/images/social-cards/education.png differ diff --git a/assets/images/social-cards/enterprise-onboarding.png b/assets/images/social-cards/enterprise-onboarding.png new file mode 100644 index 000000000000..5dcf1233b068 Binary files /dev/null and b/assets/images/social-cards/enterprise-onboarding.png differ diff --git a/assets/images/social-cards/get-started.png b/assets/images/social-cards/get-started.png new file mode 100644 index 000000000000..d532a3a21e14 Binary files /dev/null and b/assets/images/social-cards/get-started.png differ diff --git a/assets/images/social-cards/github-cli.png b/assets/images/social-cards/github-cli.png new file mode 100644 index 000000000000..5fb0887e7b3b Binary files /dev/null and b/assets/images/social-cards/github-cli.png differ diff --git a/assets/images/social-cards/github-models.png b/assets/images/social-cards/github-models.png new file mode 100644 index 000000000000..81476926930f Binary files /dev/null and b/assets/images/social-cards/github-models.png differ diff --git a/assets/images/social-cards/graphql.png b/assets/images/social-cards/graphql.png new file mode 100644 index 000000000000..5545268bdc06 Binary files /dev/null and b/assets/images/social-cards/graphql.png differ diff --git a/assets/images/social-cards/integrations.png b/assets/images/social-cards/integrations.png new file mode 100644 index 000000000000..3c7d49f54399 Binary files /dev/null and b/assets/images/social-cards/integrations.png differ diff --git a/assets/images/social-cards/issues.png b/assets/images/social-cards/issues.png index 112ae1485342..9ba5c37a40f1 100644 Binary files a/assets/images/social-cards/issues.png and b/assets/images/social-cards/issues.png differ diff --git a/assets/images/social-cards/migrations.png b/assets/images/social-cards/migrations.png new file mode 100644 index 000000000000..81fc9a0ad62f Binary files /dev/null and b/assets/images/social-cards/migrations.png differ diff --git a/assets/images/social-cards/nonprofit.png b/assets/images/social-cards/nonprofit.png new file mode 100644 index 000000000000..ce7062ca448a Binary files /dev/null and b/assets/images/social-cards/nonprofit.png differ diff --git a/assets/images/social-cards/organizations.png b/assets/images/social-cards/organizations.png new file mode 100644 index 000000000000..15f22ccbe3a7 Binary files /dev/null and b/assets/images/social-cards/organizations.png differ diff --git a/assets/images/social-cards/packages.png b/assets/images/social-cards/packages.png new file mode 100644 index 000000000000..fbd5979d7a6f Binary files /dev/null and b/assets/images/social-cards/packages.png differ diff --git a/assets/images/social-cards/pages.png b/assets/images/social-cards/pages.png new file mode 100644 index 000000000000..33b8de130cf0 Binary files /dev/null and b/assets/images/social-cards/pages.png differ diff --git a/assets/images/social-cards/pull-requests.png b/assets/images/social-cards/pull-requests.png new file mode 100644 index 000000000000..bd1199dea863 Binary files /dev/null and b/assets/images/social-cards/pull-requests.png differ diff --git a/assets/images/social-cards/repositories.png b/assets/images/social-cards/repositories.png new file mode 100644 index 000000000000..7c806b4fac82 Binary files /dev/null and b/assets/images/social-cards/repositories.png differ diff --git a/assets/images/social-cards/rest.png b/assets/images/social-cards/rest.png new file mode 100644 index 000000000000..b6e19cb2a939 Binary files /dev/null and b/assets/images/social-cards/rest.png differ diff --git a/assets/images/social-cards/search-github.png b/assets/images/social-cards/search-github.png new file mode 100644 index 000000000000..3e26c0e00dbd Binary files /dev/null and b/assets/images/social-cards/search-github.png differ diff --git a/assets/images/social-cards/site-policy.png b/assets/images/social-cards/site-policy.png new file mode 100644 index 000000000000..e8b86c4a8e7c Binary files /dev/null and b/assets/images/social-cards/site-policy.png differ diff --git a/assets/images/social-cards/sponsors.png b/assets/images/social-cards/sponsors.png new file mode 100644 index 000000000000..264e011d75cd Binary files /dev/null and b/assets/images/social-cards/sponsors.png differ diff --git a/assets/images/social-cards/subscriptions-and-notifications.png b/assets/images/social-cards/subscriptions-and-notifications.png new file mode 100644 index 000000000000..77332cb01d66 Binary files /dev/null and b/assets/images/social-cards/subscriptions-and-notifications.png differ diff --git a/assets/images/social-cards/support.png b/assets/images/social-cards/support.png new file mode 100644 index 000000000000..70dcc1f37081 Binary files /dev/null and b/assets/images/social-cards/support.png differ diff --git a/assets/images/social-cards/webhooks.png b/assets/images/social-cards/webhooks.png new file mode 100644 index 000000000000..ed8fcf87b001 Binary files /dev/null and b/assets/images/social-cards/webhooks.png differ diff --git a/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md b/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md index 5482f22c34f7..bd8925561cfd 100644 --- a/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md +++ b/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md @@ -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) | diff --git a/content/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy.md b/content/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy.md index 6c17c703d342..0c93cc62954d 100644 --- a/content/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy.md +++ b/content/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy.md @@ -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 %} diff --git a/content/rest/copilot/copilot-metrics.md b/content/rest/copilot/copilot-metrics.md index 42df36aa7635..bc2c8a6035c7 100644 --- a/content/rest/copilot/copilot-metrics.md +++ b/content/rest/copilot/copilot-metrics.md @@ -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 %} - diff --git a/data/reusables/actions/supported-github-runners.md b/data/reusables/actions/supported-github-runners.md index 8cfb8859e219..50413dde65bf 100644 --- a/data/reusables/actions/supported-github-runners.md +++ b/data/reusables/actions/supported-github-runners.md @@ -108,7 +108,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
windows-2022
ubuntu-24.04-arm,
+ ubuntu-22.04-arm
+ windows-11-arm
+