You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- added headers so that some sites skip the request rather than return a 403 error (yes, not for everyone, but I'll deal with this later)
- site https://hyperledger-fabric.readthedocs.io / has a limit of 60 requests per minute, configured so that the number of requests does not exceed this limit. Error 429 on this site has gone away.
- added exceptions so that the crawl takes place only in /en/latest/, because, for example, /zh-cn/latest/ is located in another repository.
Now it will be possible to work with it.:
- handle 404 errors
- handle 403 errors
Signed-off-by: Fedor Partanskiy <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/broken-link-checker.yml
+16-7Lines changed: 16 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,21 @@ jobs:
24
24
steps:
25
25
- name: Checkout Fabric Code
26
26
uses: actions/checkout@v4
27
-
- name: Setup Go
28
-
uses: actions/setup-go@v5
29
-
with:
30
-
go-version-file: go.mod
31
-
- name: Install Muffet
32
-
run: go install github.com/raviqqe/muffet/v2@latest
33
27
- name: Check Broken Links with Muffet
34
28
# Exclude any links that direct to the documentation or release notes of the non-latest version to limit the scanning to target to that of the latest version.
0 commit comments