Skip to content

[Bug] GITHUB_TOKEN unset info message even when --verbosity warn  #9172

@jessefarinacci

Description

@jessefarinacci

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

License Tools (apache/skywalking-eyes)

What happened

INFO messages are printed when log level is set to a higher level.

$ license-eye --verbosity warn header check
INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request

What you expected to happen

When --verbosity warn is specified, I expect debug, and info log messages to not be printed. Only warn and above should be printed.

How to reproduce

$ unset GITHUB_TOKEN
$ license-eye --verbosity warn header check
INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request

Anything else

Great tool, thank you!

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working and you are sure it's a bug!license eye

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions