Skip to content

Commit 63cf542

Browse files
authored
Merge pull request github#18521 from github/repo-sync
repo sync
2 parents db9b503 + 11d8de6 commit 63cf542

File tree

32 files changed

+240
-104
lines changed

32 files changed

+240
-104
lines changed

.github/workflows/check-all-english-links.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
check_all_english_links:
1818
name: Check all links
1919
if: github.repository == 'github/docs-internal'
20-
runs-on: ubuntu-latest
20+
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
2323
FIRST_RESPONDER_PROJECT: Docs content first responder
@@ -56,10 +56,21 @@ jobs:
5656
# The default is 10s. But because this runs overnight, we can
5757
# be a lot more patient.
5858
REQUEST_TIMEOUT: 20000
59+
# The default is 300 which works OK on a fast macbook pro
60+
# but so well in Actions.
61+
LINKINATOR_CONCURRENCY: 100
5962
run: |
60-
node server.mjs &
63+
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
6164
sleep 5
62-
curl --retry-connrefused --retry 3 -I http://localhost:4000/
65+
curl --retry-connrefused --retry 4 -I http://localhost:4000/
66+
67+
- if: ${{ failure() }}
68+
name: Debug server outputs on errors
69+
run: |
70+
echo "____STDOUT____"
71+
cat /tmp/stdout.log
72+
echo "____STDERR____"
73+
cat /tmp/stderr.log
6374
6475
- name: Run script
6576
run: |

script/check-english-links.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ const DISPLAY_MAX_LENGTH = parseInt(process.env.DISPLAY_MAX_LENGTH || '30000', 1
4343
// Links with these codes may or may not really be broken.
4444
const retryStatusCodes = [429, 503, 'Invalid']
4545

46+
const LINKINATOR_CONCURRENCY = parseInt(process.env.LINKINATOR_CONCURRENCY || '300')
47+
4648
program
4749
.description('Check all links in the English docs.')
4850
.option(
@@ -73,7 +75,7 @@ const enterpriseReleasesToSkip = new RegExp(`${root}.+?[/@](${deprecated.join('|
7375

7476
const config = {
7577
path: program.opts().path || englishRoot,
76-
concurrency: 300,
78+
concurrency: LINKINATOR_CONCURRENCY,
7779
// If this is a dry run, turn off recursion.
7880
recurse: !program.opts().dryRun,
7981
silent: true,

translations/ja-JP/content/account-and-profile/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ featuredLinks:
1717
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository
1818
- /account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications
1919
guideCards:
20-
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile
20+
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile
2121
- /account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox
2222
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-email-preferences/blocking-command-line-pushes-that-expose-your-personal-email-address
2323
- '{% ifversion ghes or ghae %}/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories{% endif %}'

translations/ja-JP/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/about-your-profile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ topics:
3333
- あなたが所有している、もしくはコントリビューションしたリポジトリと Gist。 {% ifversion fpt or ghes or ghec %}You can showcase your best work by pinning repositories and gists to your profile. 詳細は「[プロフィールにアイテムをピン止めする](/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile)」を参照してください。{% endif %}
3434
- Repositories you've starred{% ifversion fpt or ghec %} and organized into lists.{% endif %} For more information, see "[Saving repositories with stars](/articles/saving-repositories-with-stars/)."
3535
- あなたが最もアクティブな Organization、リポジトリ、Team でのあなたのアクティビティの概要。 詳しい情報については、「[プロフィール上にアクティビティの概要を表示する](/articles/showing-an-overview-of-your-activity-on-your-profile)」を参照してください。{% ifversion fpt or ghec %}
36-
- {% data variables.product.prodname_pro %} の使用や、{% data variables.product.prodname_arctic_vault %}{% data variables.product.prodname_sponsors %}{% data variables.product.company_short %} 開発者プログラムなどのプログラムへの参加を示すバッジ。 詳細は「[プロフィールをパーソナライズする](/github/setting-up-and-managing-your-github-profile/personalizing-your-profile#displaying-badges-on-your-profile)」を参照してください。{% endif %}
36+
- Badges and Achievements that highlight your activity and show if you use {% data variables.product.prodname_pro %} or participate in programs like the {% data variables.product.prodname_arctic_vault %}, {% data variables.product.prodname_sponsors %}, or the {% data variables.product.company_short %} Developer Program. 詳細は「[プロフィールをパーソナライズする](/github/setting-up-and-managing-your-github-profile/personalizing-your-profile#displaying-badges-on-your-profile)」を参照してください。{% endif %}
3737

3838
プロフィールにステータスを設定して、可用性に関する情報を提供することもできます。 詳細は「[ステータスを設定する](/articles/personalizing-your-profile/#setting-a-status)」を参照してください。
3939

0 commit comments

Comments
 (0)