fedora-copr / vcs-diff-lint-action

Differential code linting GitHub action
2 stars 1 forks source link

feat: Turn on debug when requested via UI #7

Closed jamacku closed 1 year ago

jamacku commented 1 year ago

GitHub allows users to run GitHub Workflows in DEBUG MODE via UI. It uses ENV RUNNER_DEBUG to internally determine the log level.

This patch is adding support for RUNNER_DEBUG ENV. When set manually or via GitHub UI, it runs vcs-diff-lint with --log-level=debug.

Tested in the following run workflow: https://github.com/jamacku/systemd-scopes/actions/runs/4025890231/jobs/6919768312#step:4:16

praiskup commented 1 year ago

+1