Skip to content

Commit 7afc062

Browse files
committed
HTML Proofer: Ignore links to twitter.com.
1 parent 8f9720e commit 7afc062

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ jobs:
3535
- name: HTMLProofer
3636
run: |
3737
# Check all links
38+
# Don't check links to twitter.com because they return 400 all the time
3839
bundle exec htmlproofer ./_site/\
3940
--only-4xx\
4041
--ignore-empty-alt=true\
4142
--allow-hash-href=true\
4243
--enforce-https=false\
4344
--ignore-missing-alt=true\
4445
--swap-urls "https\:\/\/scala\.epfl\.ch:"\
46+
--ignore-urls "/twitter.com/,/x.com/"\
4547
--cache '{ "timeframe": { "external": "30d" } }'

0 commit comments

Comments
 (0)