Skip to content

This action is available in the Github context, but it's the octkit context, not the Github Actions context, and I can't find any explanation for it anywhere. #347

@mecaota

Description

@mecaota

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions