Skip to content

Linting gives warnings of variables and outputs set via actions/github-script with core object #48

@jsclifford

Description

@jsclifford

Lint warning occurs stating context access might be invalid: <output name> when using actions/github-script@v7 action to set outputs or export an environment variable in a step.

Please update the linter to include the core.setOutput and core.exportVariable to validate if the context is properly referenced. Most of my workflows have warnings that are false positives when using this action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions