Closed microbit-carlos closed 3 years ago
I think you can fail the action if it finds errors, https://github.com/peter-evans/link-checker#creating-a-failing-check-for-link-errors, but it defaults to passing and creates the report. Is it useful to have the action fail as well as generating the issue?
It's probably fine as it is, it's just a bit odd when there are issues and looking at the actions you see all of them marked as "pass". If it's very simple to mark it as failed and still have the CI add the GH issue, i'd say is worth the fix, but it's more than a quick look-up the docs and a test, then it's not worth the effort.
I assume the main reason the link checker step is failed is so that the next step (posting a comment) runs.
Is there a way to fail the action and still have the github issue automatically opened?