From 94597c90f9eaa94828edc70ce65adfc8b6b4d550 Mon Sep 17 00:00:00 2001 From: rogermparent Date: Thu, 21 Oct 2021 14:23:07 -0400 Subject: [PATCH 1/3] Add fetch-depth:0 to link-check-diff workflow Might solve merge-base issue --- .github/workflows/link-check-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/link-check-deploy.yml b/.github/workflows/link-check-deploy.yml index 45068a38d8..9587819378 100644 --- a/.github/workflows/link-check-deploy.yml +++ b/.github/workflows/link-check-deploy.yml @@ -13,6 +13,8 @@ jobs: github.event.deployment_status.state == 'success' steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - id: build_check uses: LouisBrunner/checks-action@v1.0.0 with: From 6518098e58b3e828d6950970804428e52f10994c Mon Sep 17 00:00:00 2001 From: rogermparent Date: Fri, 22 Oct 2021 19:10:48 -0400 Subject: [PATCH 2/3] Upgrade repo-link-check package --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0fae34ee0d..6d8324ee3c 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "react-use": "^14.0.0", "rehype-react": "^6.2.1", "remark-preset-lint-recommended": "^5.0.0", - "repo-link-check": "^0.7.1", + "repo-link-check": "^0.8.0", "reset-css": "^5.0.1", "s3-client": "^4.4.2", "scroll": "^3.0.1", diff --git a/yarn.lock b/yarn.lock index ad6dda63c3..c99dbfa9c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13313,10 +13313,10 @@ repeat-string@^1.0.0, repeat-string@^1.5.4, repeat-string@^1.6.1: resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= -repo-link-check@^0.7.1: - version "0.7.3" - resolved "https://registry.yarnpkg.com/repo-link-check/-/repo-link-check-0.7.3.tgz#15b53269315ece182696595db0a5abf7beb5bb22" - integrity sha512-dIbDGDceOCBtDtlqNFrv+ZCcS91Qr3u4NBmuMxmgehGqqW1L2oyzjlAo7mOxsXq3LLo1wwp4pAfGM20vAxEfog== +repo-link-check@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/repo-link-check/-/repo-link-check-0.8.0.tgz#0613151e5d48800a61245acfe28abf466afe77c0" + integrity sha512-v9i/go/athEugxbFocyVIgRZeKodGlTYrw1gywKQBNCSuMcmSBONh2/BCFQAe8DMa68+c2tvKixyw9LOhn7vKQ== dependencies: bottleneck "^2.19.5" commander "^6.1.0" From c0e0ebe86198edb1b93c50b043e110050b5be6ef Mon Sep 17 00:00:00 2001 From: rogermparent Date: Fri, 22 Oct 2021 19:12:35 -0400 Subject: [PATCH 3/3] Upgrade link check action --- .github/workflows/link-check-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link-check-deploy.yml b/.github/workflows/link-check-deploy.yml index 9587819378..1dca96cd73 100644 --- a/.github/workflows/link-check-deploy.yml +++ b/.github/workflows/link-check-deploy.yml @@ -23,7 +23,7 @@ jobs: status: queued - name: Run Link Check id: check - uses: iterative/link-check.action@v0.8 + uses: iterative/link-check.action@v0.9 with: diff: true configFile: config/link-check/config.yml