lycheeverse / lychee-action

Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
https://lychee.cli.rs
Apache License 2.0
316 stars 44 forks source link

create-issue-from-file can't find the lychee output #13

Closed seisman closed 3 years ago

seisman commented 3 years ago

I'm trying this action, but can't make it work.

The action can correctly find broken links, and the results are saved in /tmp/lychee/output.md:

image

However, the create-issue-from-file action can't find the /tmp/lychee/output.md:

image

image

mre commented 3 years ago

I don't see any mistake with your config. Very confuseing. 🤔

mre commented 3 years ago

For reference, this is how it should look like: https://github.com/analysis-tools-dev/static-analysis/issues/651 Here's the config: https://github.com/analysis-tools-dev/static-analysis/blob/master/.github/workflows/links.yml Do you see any differences?

seisman commented 3 years ago

I used /tmp/lychee/out.md in the "create-issue-from-file" action. Changing it to ./lychee/out.md now works (https://github.com/GenericMappingTools/pygmt/issues/927).

Sorry for the noise.

mre commented 3 years ago

Yay! Thanks for the feedback and for using lychee. 😃