Skip to content

Commit e69e54a

Browse files
authored
Merge pull request #2288 from bids-standard/bf-check_links
chore: Ignore redirect warnings in link checks
2 parents 3e68dd0 + 97bca22 commit e69e54a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
git status
3333
if (! git log -1 --pretty=oneline | grep REL:) ; then
3434
chmod a+rX -R ~
35-
uvx linkchecker -t 1 ~/project/site/
35+
uvx linkchecker -t 1 --no-warnings ~/project/site/
3636
# check external separately by pointing to all *html so no
3737
# failures for local file:/// -- yoh found no better way,
38-
uvx linkchecker -t 1 --check-extern \
38+
uvx linkchecker -t 1 --no-warnings --check-extern \
3939
--ignore-url 'file:///.*' \
4040
--ignore-url 'https://bids-specification.readthedocs.io/en/stable/.*' \
4141
--ignore-url "https://bids-specification.readthedocs.io/en/v${CIRCLE_BRANCH#rel/}/" \

0 commit comments

Comments
 (0)