WordPress / props-bot-action

A GitHub Action for compiling a list of contributor props.
Other
11 stars 3 forks source link

Some debug data is not being logged correctly #72

Open desrosj opened 6 months ago

desrosj commented 6 months ago

Description

When running the bot in debug mode, some of the data logged is empty even though there are valid values (we know because the bot works).

Version

v1

Workflow file

No response

Link

https://github.com/WordPress/props-bot-action/actions/runs/7923792615/job/21634347897#step:3:25

aaronjorbin commented 6 months ago

I think this is due to debug requiring a string. https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L129

Might be worth having our own wrapper that calls JSON.stringify on non strings