Skip to content

Commit

Permalink
Fix and update link-check (#2954)
Browse files Browse the repository at this point in the history
* Add fetch-depth:0 to link-check-diff workflow

Might solve merge-base issue

* Upgrade repo-link-check package

* Upgrade link check action
  • Loading branch information
rogermparent authored Oct 25, 2021
1 parent 29b334f commit dcb2492
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/link-check-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand All @@ -21,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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dcb2492

Please sign in to comment.