Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The runner.environment context is shown as invalid in this extension. #428

Open
vbem opened this issue Dec 3, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@vbem
Copy link

vbem commented Dec 3, 2024

Describe the bug
When we use the runner.environment context listed in official document, this extension reports "Context access might be invalid".

To Reproduce
Steps to reproduce the behavior:

  1. With this workflow '...'
steps:
  - if: ${{ runner.environment == 'github-hosted' }}
    run: echo "This is a ${{ runner.environment }} runner"
  1. Do this '...'

Open the "Problems" Panel.

  1. See error\
Context access might be invalid: environment

Expected behavior
The runner.environment context listed in official document can be recognized well by this extension.

Screenshots
image

Extension Version
v0.27.0

Additional context
Add any other context about the problem here.

@muzimuzhi
Copy link

Duplicate of actions/languageservices#78 which may be closed by merging of actions/languageservices#79.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog 🗒
Development

No branches or pull requests

2 participants