Skip to content

Commit

Permalink
fix broken link check workflow to properly handle ignore patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Nov 5, 2024
1 parent f28ede2 commit 9cb3a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-broken-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ jobs:
echo "notebook_list=${notebook_list}"
for notebook in $(echo $notebook_list | jq -r '.[]'); do
echo "Checking links in $notebook"
pytest --check-links --check-links-ignore "https://doi.org/.*/,https://www.sciencedirect.com/.*" $notebook
pytest --check-links --check-links-ignore "https://doi.org/.*/" --check-links-ignore "https://www.sciencedirect.com/.*" $notebook
done

0 comments on commit 9cb3a4d

Please sign in to comment.