Title: Permanent warnings (highlighting) for env vars set on GitHub environment level · Issue #523 · github/vscode-github-actions · GitHub
Open Graph Title: Permanent warnings (highlighting) for env vars set on GitHub environment level · Issue #523 · github/vscode-github-actions
X Title: Permanent warnings (highlighting) for env vars set on GitHub environment level · Issue #523 · github/vscode-github-actions
Description: Describe the bug I always see a yellow (warning) highlighting for every environment variable that is not directly defined inside the workflow but is properly set on GitHub environment level: I see those warnings even though this env var ...
Open Graph Description: Describe the bug I always see a yellow (warning) highlighting for every environment variable that is not directly defined inside the workflow but is properly set on GitHub environment level: I see ...
X Description: Describe the bug I always see a yellow (warning) highlighting for every environment variable that is not directly defined inside the workflow but is properly set on GitHub environment level: I see ...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/523
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Permanent warnings (highlighting) for env vars set on GitHub environment level","articleBody":"**Describe the bug**\nI always see a yellow (warning) highlighting for every environment variable that is not directly defined inside the workflow but is properly set on GitHub environment level:\n\n\u003cimg width=\"603\" height=\"162\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/826f2b2f-d35a-4b81-923a-af74fc8ee102\" />\n\n\u003cbr>\n\n\u003cimg width=\"507\" height=\"122\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6de731dc-a0e9-4e05-af15-33172eebc36e\" />\n\u003cbr>\u003cbr>\n\nI see those warnings even though this env var is properly set, workflow is working fine, and I'm logged in to VSCode to my GitHub account. I also logged into my GitHub account inside the interface of this extension.\n\nThe interface of this extension is able to see that this var exists, so the highlighting in this case seems to be a bug:\n\n\u003cimg width=\"302\" height=\"378\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/37021043-1d5a-4e52-8c49-e13caebf2d34\" />\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Reference in a workflow, an environment variable that is set on the GitHub env level\n2. Make sure that the `vscode-github-actions` extension is enabled\n3. Highlighting occurs\n\n**Expected behavior**\nThere is no highlighting because the workflow is able to successfully use this variable, so there is no reason to show a warning (I'm logged in to my GitHub account in VS Code, and I have all permissions to see this variable that causes highlighting).\n\n**Extension Version**\n`v0.28.0`\n\n**Additional context**\n\nI have the following GHA workflow:\n```yml\nname: My Workfloe\n\non:\n workflow_dispatch:\n\njobs:\n test-linting-templating-and-installing:\n runs-on: ubuntu-24.04\n steps:\n - name: Configure AWS credentials from the AWS account\n uses: aws-actions/configure-aws-credentials@v4.1.0\n with:\n role-to-assume: \"arn:aws:iam::${{ secrets.aws_management_account_id }}:role/iam-${{ inputs.github_env_name }}-role_gh_oidc_eks-global\"\n aws-region: ${{ vars.AWS_REGION }}\n role-session-name: GitHub-OIDC-K8s-GitOps\n```\n\nAnd `aws-region: ${{ vars.AWS_REGION }}` is always highlighted.\n\n\n\n\n\n","author":{"url":"https://github.com/JakubSzuber","@type":"Person","name":"JakubSzuber"},"datePublished":"2025-10-25T18:09:35Z","url":"https://github.com/github/vscode-github-actions/issues/523"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8815a566-0c95-cee8-5321-2dd2132c01ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B228:3A715F:435AEB:613682:6AFD8410 |
| html-safe-nonce | 31e15e66c85c39e73f1c7023b2708efad92915c56028414a3f9c2d5af8147ca1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjI4OjNBNzE1Rjo0MzVBRUI6NjEzNjgyOjZBRkQ4NDEwIiwidmlzaXRvcl9pZCI6IjY0MzUzNDg0OTE1MjE1OTAyODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc7f30363523829bbf226a82128d975f83975b16f5c056dbca43f9c8bf39c469 |
| hovercard-subject-tag | issue:3552795192 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/vscode-github-actions/523/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45375bd6a19f4e9174559730a08a5e60d584b2c75877ffc05d097c062e08170a/github/vscode-github-actions/issues/523 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45375bd6a19f4e9174559730a08a5e60d584b2c75877ffc05d097c062e08170a/github/vscode-github-actions/issues/523 |
| og:image:alt | Describe the bug I always see a yellow (warning) highlighting for every environment variable that is not directly defined inside the workflow but is properly set on GitHub environment level: I see ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JakubSzuber |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/vscode-github-actions git https://github.com/github/vscode-github-actions.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 616663763 |
| octolytics-dimension-repository_nwo | github/vscode-github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616663763 |
| octolytics-dimension-repository_network_root_nwo | github/vscode-github-actions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width