paulfantom / periodic-labeler

GitHub action to periodically label all PRs in repository
MIT License
14 stars 3 forks source link

Add logging option #5

Open mattrosno opened 4 years ago

mattrosno commented 4 years ago

I'm struggling to figure out why this is only working on ~7 of my 26 open pull requests. Would it be possible to add logging so as I watch the workflow run I can see what's happening?

For context, I'm trying to add a label squad: system to all open PRs and then package: foo labels based on package directory in our monorepo.

https://github.com/carbon-design-system/carbon/blob/master/.github/labeler.yml

Any suggestions on how to best debug this?

paulfantom commented 4 years ago

Sure. Added logging in https://github.com/paulfantom/periodic-labeler/commit/dffbc90404f371f76444a69221c2f7ad079e2319, hope it helps :)