Skip to content

Commit

Permalink
add exclude rule
Browse files Browse the repository at this point in the history
Signed-off-by: yuriechan <28754813+yuriechan@users.noreply.github.com>
  • Loading branch information
yuriechan committed Jul 9, 2023
1 parent 732a037 commit 86feec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Muffet
run: go install github.com/raviqqe/muffet/v2@latest
- name: Check Broken Links with Muffet
# Exclude zip file to prevent downloading the amount of data that cannot be supported by muffet
# Exclude any links from stackoverflow as it results in 403 HTTP status code (Forbidden)
run: muffet --rate-limit=10 --timeout=20 --buffer-size=2147483647 --color=always --exclude="(^.*zip\/$)|(^(https:\/\/stackoverflow.com).*$)" https://hyperledger-fabric.readthedocs.io/en/latest/
# Exclude any links that direct the documentation to the non-latest version to limit the scanning to the latest version
run: muffet --max-response-body-size=100000000 --rate-limit=10 --timeout=20 --buffer-size=2147483647 --color=always --exclude="^(https:\/\/hyperledger-fabric.readthedocs.io\/[A-z_]+\/(v.[\d]+.[\d]+.[\d]+|release)).*$" https://hyperledger-fabric.readthedocs.io/en/latest/


0 comments on commit 86feec6

Please sign in to comment.