Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging to show why a label gets assigned or not. #23

Open
ob1dev opened this issue Sep 19, 2019 · 5 comments
Open

Add logging to show why a label gets assigned or not. #23

ob1dev opened this issue Sep 19, 2019 · 5 comments
Labels
enhancement New feature or request needs eyes

Comments

@ob1dev
Copy link

ob1dev commented Sep 19, 2019

It would be handy if the action logged statements when a given path in PR match or doesn't rules in the file .github/labeler.yml.

For example, the action got kicked out, but no label was assigned, and based on this 馃憞 it's hard to understand why.

Labeler

@pvinis
Copy link

pvinis commented Oct 17, 2019

Same here. A label was added, but another one was not, but I have no way to debug this.

@CsatariGergely
Copy link

+1

@phillipj
Copy link

Have you tried enabling Step debugging logs?

Skimming through the source of this Action, there seems to be quite a lot of valuable information dumped with those logs enabled.

@valentijnscholten
Copy link

+! for this. Enabling Step Debugging Logs is not a viable option as we have over 10 workflows and we don't want all of them to output debug logs. Even for the labeler we don't really want/need debug logs for everything. We would like to have some simple log lines for each PR assigned label(s) or having label(s) removed so we can a) see the action is working b) debug any missing or superfluous labels.

@MaksimZhukov MaksimZhukov added the enhancement New feature or request label Dec 12, 2022
@eloisetaylor5693
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs eyes
Projects
None yet
Development

No branches or pull requests

7 participants