diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index e3db43948d..4b74415af9 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -24,7 +24,7 @@ jobs: if: env.lychee_exit_code != 0 shell: bash run: | - if [[ $(cat lychee/out.md | grep -Fe '* [' | grep -vFe '* [429] [https://www.npmjs.com/package/' -e '* [403] [https://www.iconfinder.com/' -e '* [ERR] [https://www.pixiv.net/' -e '* [TIMEOUT] [https://www.adobe.com/]' -e '* [TIMEOUT] [https://web.archive.org/web/' -e '* [ERR] [https://www.npmjs.com/package/' -e '* [503] [https://www.npmjs.com/package/' -e '* [500] [https://www.npmjs.com/package/' | tee /dev/stderr | head -c1 | wc -c) -ne 0 ]] + if [[ $(cat lychee/out.md | grep -Fe '* [' | grep -vFe '* [429] [https://www.npmjs.com/package/' -e '* [403] [https://www.iconfinder.com/' -e '* [ERR] [https://www.pixiv.net/' -e '* [ERR] [https://www.adobe.com/]' -e '* [TIMEOUT] [https://www.adobe.com/]' -e '* [TIMEOUT] [https://web.archive.org/web/' -e '* [ERR] [https://www.npmjs.com/package/' -e '* [503] [https://www.npmjs.com/package/' -e '* [500] [https://www.npmjs.com/package/' | tee /dev/stderr | head -c1 | wc -c) -ne 0 ]] then exit 1 fi rm -r lychee/