labeler
labeler copied to clipboard
Add logging to show why a label gets assigned or not.
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](https://user-images.githubusercontent.com/2487951/65274156-8ffc2100-dad7-11e9-91ff-05d12d58bb35.png)
Same here. A label was added, but another one was not, but I have no way to debug this.
+1
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.
+! 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.
+1