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
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
3 changes: 0 additions & 3 deletions src/links/scripts/check-links-external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,6 @@ async function main() {

console.log(`Created report issue: ${newReport.html_url}`)
}

// Exit with error if broken links found
process.exit(1)
}

// Run if invoked directly
Expand Down
Loading