Add the node_id to the available output by amonshiz · Pull Request #299 · peter-evans/find-comment (original) (raw)

I would like to use this action to find comments for minimization but that seems to require using the GraphQL API. The GraphQL API requires the node_id for the minimizeComment and unminimizeComment mutations. Thankfully the REST API returns the GraphQL node_id property and as long as this passes it back we can then use it in GraphQL mutations!

I updated the action defintion, the declared shape of a Comment, and all the tests (both in ts and in the workflow).