Skip to content

Commit 195436e

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 5efc58b + 28bd8d5 commit 195436e

74 files changed

Lines changed: 659 additions & 149 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: 'Link Checker: All English'
2+
3+
# **What it does**: Renders the content of every page and check all internal links.
4+
# **Why we have it**: To make sure all links connect correctly.
5+
# **Who does it impact**: Docs content.
6+
7+
on:
8+
workflow_dispatch:
9+
push:
10+
branches:
11+
- main
12+
pull_request:
13+
14+
permissions:
15+
contents: read
16+
# Needed for the 'trilom/file-changes-action' action
17+
pull-requests: read
18+
19+
jobs:
20+
build:
21+
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
25+
26+
- name: Setup node
27+
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
28+
with:
29+
node-version: 16.13.x
30+
cache: npm
31+
32+
- name: Install
33+
run: npm ci
34+
35+
- name: Gather files changed
36+
uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b
37+
id: get_diff_files
38+
with:
39+
# So that `steps.get_diff_files.outputs.files` becomes
40+
# a string like `foo.js path/bar.md`
41+
output: ' '
42+
- name: Insight into changed files
43+
run: |
44+
echo ${{ steps.get_diff_files.outputs.files }}
45+
46+
- name: Link check (warnings, changed files)
47+
run: |
48+
./script/rendered-content-link-checker.mjs \
49+
--language en \
50+
--max 100 \
51+
--check-anchors \
52+
--check-images \
53+
--verbose \
54+
${{ steps.get_diff_files.outputs.files }}
55+
56+
- name: Link check (critical, all files)
57+
run: |
58+
59+
./script/rendered-content-link-checker.mjs \
60+
--language en \
61+
--exit \
62+
--verbose \
63+
--check-images \
64+
--level critical

content/admin/user-management/migrating-data-to-and-from-your-enterprise/exporting-migration-data-from-githubcom.md

Lines changed: 9 additions & 8 deletions

content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md

Lines changed: 1 addition & 1 deletion
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:d8a05ad3e1782aeabb53048155199ad2a1a5cc5a13528c60f0b97b2bdcbd7ad6
3-
size 623595
2+
oid sha256:4d7f912c32acbacc820bb0c417fa1df7de41b67f072d9237f3c913f332711e1a
3+
size 609489
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:2b40cafc021cc68e402464ae9ad2d9cd0dd27bf1526c55a19639b44e584cd369
3-
size 1362623
2+
oid sha256:26b189615d8143df14319df1fba5d441280320cea0e0316a87682d6e6aedaf09
3+
size 1457922
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:df58094523877c69c885ddbf2cdad6d22d9de4e69ccfa1230f94e733b8a959d4
3-
size 947212
2+
oid sha256:e8cb7b425945298089e833a4c1f2a6c5cca5b021ec2bde8cce0cedaeb6b596d7
3+
size 947205
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:d17a7a459ba5c2132d9c75c0aa6f85188231798429bd0d131d7c28a9bb2394d2
3-
size 3862193
2+
oid sha256:c6e649fc63da4939d0faa5b6a749877a283bb941036efaeb0712a8df55b32eae
3+
size 3862610
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:564afbc84c230a99125e65d8425da10cf8a01a1375b50ea1516d1f3495662fa4
3-
size 592191
2+
oid sha256:ceaf6cb31d205a29697437451383a5216299a7b0d8f9feca7929e86e1b77338b
3+
size 592317
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:3d8a512c73a390ca48ca93d01dca951c5128db8bebf911e09cf88b1d979de26a
3-
size 2605887
2+
oid sha256:075258d9f34e39203eb7425d67185fb21719f7784d0d9578ccb17e5ac83d8b34
3+
size 2605829
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:0331da26fbdabc8e9014a34a80e03181222670fd8c9dd8be73c56d127685792d
3-
size 641242
2+
oid sha256:de9b7aaf4457f893f3372079f89088dc28cd35971d983bc4d5a409b6a3ddbe9d
3+
size 621786

0 commit comments

Comments
 (0)