Skip to content

Fail on unknown license instead of ignoring it #857

@mabar

Description

@mabar

Is your feature request related to a problem? Please describe.
When license of the package is unrecognized, this action still finishes successfully. Due to this problem we can easily miss usage of a package with an incompatible license.

For now I am setting comment-summary-in-pr to always instead of on-failure to notice problem but it does not allow me to prevent merge by branch protection and it posts useless comments when no dependencies changed.

Describe the solution you'd like
Add option fail-on-unknown-license: true

Describe alternatives you've considered
No config, just always fail on unknown.

Additional context
image

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