Skip to content

Commit 2233319

Browse files
authored
Merge pull request #42632 from github/repo-sync
Repo sync
2 parents af66abc + 2c0f6a6 commit 2233319

File tree

7 files changed

+43
-15
lines changed

7 files changed

+43
-15
lines changed

.github/workflows/link-check-external.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,30 @@ jobs:
4242
fi
4343
4444
- name: Upload report artifact
45-
if: failure()
45+
if: always()
4646
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4747
with:
4848
name: external-link-report
4949
path: artifacts/external-link-report.*
5050
retention-days: 14
51+
if-no-files-found: ignore
52+
53+
- name: Check if report exists
54+
if: always()
55+
id: check_report
56+
run: |
57+
if [ -f "artifacts/external-link-report.md" ]; then
58+
echo "has_report=true" >> $GITHUB_OUTPUT
59+
else
60+
echo "has_report=false" >> $GITHUB_OUTPUT
61+
echo "No broken link report generated - all links valid!"
62+
fi
5163
5264
- name: Create issue if broken links found
53-
if: failure()
65+
if: always() && steps.check_report.outputs.has_report == 'true'
5466
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
5567
with:
56-
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
68+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
5769
repository: github/docs-content
5870
title: '🌐 Broken External Links Report'
5971
content-filepath: artifacts/external-link-report.md

.github/workflows/link-check-internal.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
if: matrix.language != 'en'
7979
uses: ./.github/actions/clone-translations
8080
with:
81-
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
81+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
8282

8383
- name: Check internal links
8484
env:
@@ -125,14 +125,14 @@ jobs:
125125
# Check if any reports exist
126126
if ls reports/*.md 1> /dev/null 2>&1; then
127127
echo "has_reports=true" >> $GITHUB_OUTPUT
128-
128+
129129
# Combine all markdown reports
130130
echo "# Internal Links Report" > combined-report.md
131131
echo "" >> combined-report.md
132132
echo "Generated: $(date -u +'%Y-%m-%d %H:%M UTC')" >> combined-report.md
133133
echo "[Action run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> combined-report.md
134134
echo "" >> combined-report.md
135-
135+
136136
for report in reports/*.md; do
137137
echo "---" >> combined-report.md
138138
cat "$report" >> combined-report.md
@@ -147,7 +147,7 @@ jobs:
147147
if: steps.combine.outputs.has_reports == 'true'
148148
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
149149
with:
150-
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
150+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
151151
repository: github/docs-content
152152
title: '🔗 Broken Internal Links Report'
153153
content-filepath: combined-report.md

content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ The following features are currently unavailable on {% data variables.enterprise
2020

2121
| Feature | Details | More information |
2222
| :- | :- | :- |
23-
| {% data variables.product.prodname_copilot_short %} Metrics API | Currently unavailable. | [AUTOTITLE](/rest/copilot/copilot-metrics) |
2423
| {% data variables.product.prodname_github_codespaces %} | Currently unavailable. | [AUTOTITLE](/codespaces/quickstart) |
2524
| macOS runners for {% data variables.product.prodname_actions %} | Currently unavailable. | [AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners) |
2625
| 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) |

content/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Organization owners can change the parent of any team. Team maintainers can chan
2323
> [!TIP]
2424
> * You cannot change a team's parent to a secret team. For more information, see [AUTOTITLE](/organizations/organizing-members-into-teams/about-teams).
2525
> * You cannot nest a parent team beneath one of its child teams.
26+
> * Adding an existing child team to a new parent team removes it from its previous parent team.
2627
2728
{% data reusables.profile.access_org %}
2829
{% data reusables.user-settings.access_org %}

content/rest/copilot/copilot-metrics.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ You can use these endpoints to get a breakdown of aggregated metrics for various
2020
* Breakdowns by language and IDE
2121
* The option to view metrics for an enterprise, organization, or team
2222

23-
{% data reusables.copilot.metrics-api-ghecom %}
24-
2523
<!-- Content after this section is automatically generated -->

data/reusables/actions/supported-github-runners.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
108108
<tr>
109109
<td>Linux</td>
110110
<td>2</td>
111-
<td>7 GB</td>
111+
<td>8 GB</td>
112112
<td>14 GB</td>
113113
<td> x64 </td>
114114
<td>
@@ -120,7 +120,7 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
120120
<tr>
121121
<td>Windows</td>
122122
<td>2</td>
123-
<td>7 GB</td>
123+
<td>8 GB</td>
124124
<td>14 GB</td>
125125
<td> x64 </td>
126126
<td>
@@ -129,6 +129,27 @@ For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using
129129
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">windows-2022</a></code>
130130
</td>
131131
</tr>
132+
<tr>
133+
<td>Linux</td>
134+
<td>2</td>
135+
<td>8 GB</td>
136+
<td>14 GB</td>
137+
<td> arm64 </td>
138+
<td>
139+
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-24-image.md">ubuntu-24.04-arm</a></code>,
140+
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-22-image.md">ubuntu-22.04-arm</a></code>
141+
</td>
142+
</tr>
143+
<tr>
144+
<td>Windows</td>
145+
<td>2</td>
146+
<td>8 GB</td>
147+
<td>14 GB</td>
148+
<td> arm64 </td>
149+
<td>
150+
<code><a href="https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md">windows-11-arm</a></code>
151+
</td>
152+
</tr>
132153
<tr>
133154
<td>macOS</td>
134155
<td>4</td>

src/links/scripts/check-links-external.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,6 @@ async function main() {
356356

357357
console.log(`Created report issue: ${newReport.html_url}`)
358358
}
359-
360-
// Exit with error if broken links found
361-
process.exit(1)
362359
}
363360

364361
// Run if invoked directly

0 commit comments

Comments
 (0)