Skip to content

[Feature] force to find at least X files to analyze #84

@dkarlovi

Description

@dkarlovi

NOTE: This issue was moved from lychee to lychee-action


Was running my CI and lychee said all good, except I disabled the generation process and it found zero files to analyze. 🙈

It seems like it would be a good idea to be able to say

You must find at least X things to analyze, otherwise it's an error.

This avoids this output.

🔍 0 Total ✅ 0 OK 🚫 0 Errors

It would be opt-in, so by default the current behaviour remains.

Maybe something like --min-total=X or similar? Don't know if it would make sense to also have a test for maximum?

I expect no more than X files, anything more is a mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions