From c3e8b23ddea911abb6e6f375e556c70294cb61d3 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 16 Jun 2022 11:36:04 -0400 Subject: [PATCH] run 'Check all English links' on ubuntu-20.04-xl (#28566) * run 'Check all English links' on ubuntu-latest * that didn't work * ubuntu-20.04-xl * increase patience in waiting for server --- .github/workflows/check-all-english-links.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-all-english-links.yml b/.github/workflows/check-all-english-links.yml index baae8c5bd6..9697bd818e 100644 --- a/.github/workflows/check-all-english-links.yml +++ b/.github/workflows/check-all-english-links.yml @@ -17,7 +17,7 @@ jobs: check_all_english_links: name: Check all links if: github.repository == 'github/docs-internal' - runs-on: self-hosted + runs-on: ubuntu-20.04-xl env: GITHUB_TOKEN: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} FIRST_RESPONDER_PROJECT: Docs content first responder @@ -25,6 +25,9 @@ jobs: REPORT_LABEL: broken link report REPORT_REPOSITORY: github/docs-content steps: + - name: Check that gh CLI is installed + run: gh --version + - name: Check out repo's default branch uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748 - name: Setup Node @@ -60,8 +63,8 @@ jobs: DISABLE_REWRITE_ASSET_URLS: true run: | node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log & - sleep 5 - curl --retry-connrefused --retry 4 -I http://localhost:4000/ + sleep 6 + curl --retry-connrefused --retry 5 -I http://localhost:4000/ - if: ${{ failure() }} name: Debug server outputs on errors