|
const context = { github: github.context, env: process.env }; |
In this Actions, it is stated that the github context is available and that if payload json file is prepared, it will be parsed, but this is not the github context of Github Actions, but the context provided by octokit. This is misleading due to insufficient explanation in the current documentation. Please state in the documentation that it is the octokit context.
Even if you write it according to the context described in the Github Actions documentation, it will be parsed as "???" because the octokit github context is different from the camel case and snake case, and the context itself provided is different.
I spent an hour trying to solve this. The documentation is very unhelpful.