-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing check when I want an informative check #37
Comments
Thanks for trying lychee. 😊 About your questions:
|
Thanks, I applied your change https://github.com/kaihendry/geekout.org.uk/runs/3034419141 Is there a way just to highlight the failing links? I.e. do not show the successful / working links This would help me prioritize what I should fix first. And last but not least, is there a sane way to "fix" broken links? Propose to rewrite them to http://web.archive.org/ or https://archive.is/ if the URL is archived upon them? Thank you again! |
Sure, just remove
I thought this was proposed before, but I can't find the issue anymore. 🤔 It's a great idea, though. We could add a |
Thanks for creating that ticket @kaihendry. |
Hi, despite adding
Is that expected? I rather just have it run and not look like some sort of CI fail, if that makes any sense. Thank you! |
I think that's expected, yeah. |
I haven't tested it, but perhaps you could overwrite the lychee exit code? - name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --no-progress **/*.mdwn || exit 0
issue: false |
Looks like the pipe gets quoted.... hmm https://github.com/kaihendry/geekout.org.uk/runs/3067535049?check_suite_focus=true |
We could add an - name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --no-progress **/*.mdwn
issue: false
exit: 0 Alternatively we could add a flag to lychee: - name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --no-progress **/*.mdwn --exit 0
issue: false To be honest, these options feel like hacks to me. I wonder if that's a common enough use-case to add that feature. 😕 |
https://github.com/kaihendry/geekout.org.uk/actions/runs/1030628076 |
I use this action simply:
upon https://github.com/kaihendry/geekout.org.uk/blob/07328724ab98e8fc91105255654b399baa27fe58/.github/workflows/links.yaml
However it has two surprisingly issues:
run: exit ${{ steps.lychee.outputs.exit_code }}
to actually cause a failureWhat am I doing wrong please?
The text was updated successfully, but these errors were encountered: