Skip to content

Commit 11327f2

Browse files
authored
Merge pull request #6 from GOMC-WSU/accepts_response_418
updated link checker to accept server response 418
2 parents ba6117e + 3f020de commit 11327f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linkchecker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
pip3 install requests
2626
- name: amend linkcheckerrc to ignore 403 errors
2727
run: |
28-
sed -i '/#ignoreerrors=/a ignoreerrors=^http* ^403 Forbidden' /home/runner/.local/lib/python3.10/site-packages/linkcheck/data/linkcheckerrc
28+
sed -i '/#ignoreerrors=/a ignoreerrors=\n ^http* ^403 Forbidden\n ^http* ^418 Unknown Code' /home/runner/.local/lib/python3.10/site-packages/linkcheck/data/linkcheckerrc
2929
- name: run linkchecker
3030
run: |
3131
cd $GITHUB_WORKSPACE/

0 commit comments

Comments
 (0)