Skip to content

Context access might be invalid: pr_number #168

@hwhsu1231

Description

@hwhsu1231

Problem Description

When I open and browse the GitHub Workflow I wrote in Visual Studio Code, I noticed that the editor keeps showing a warning about an issue with the pr_number output:

Context access might be invalid: pr_number

As for the url output, there’s no issue.

However, when the workflow is actually triggered on GitHub, the pr_number does indeed display the correct output?

Versions and Platforms

  • OS version: Kubuntu 24.04
  • VSCode version: 1.96.2
  • action-pull-request version: v0.5.5

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions