Skip validation for dynamic environment
fixes: github/vscode-github-actions#222
When the environment of a job is dynamically set the validator is unable to resolve the variables names it has access to; this PR should cause the context provider to skip validation of the variables when this is the case.
This is a an issue that has been around for a while and has been fixed for the "secrets" context provider (see github/vscode-github-actions#41) but was seemingly not addressed for the "variables" context provider. I have duplicated the change to the variables provider.
Copilot is a little off... I didn't introduce a new variablesContext, I just moved the instantiation to be up above the block that determines the environment name.
Great! This will solve the highest reacted issue in this repo.
Apologies for the copilot spam. I had thought the checks were saying it needed a happy copilot review before sending it to the codeowners, but I realize now I had misinterpreted them.
Any updates on this? The issue is still the top issue but nothing seems to be happening?
🙏

...
https://github.com/orgs/actions/teams/actions-vscode-reviewers doesn't exist ?!