Title: False positive missing-required-inputs for app_location when action: "close" in Azure Static Web Apps deploy · Issue #609 · github/vscode-github-actions · GitHub
Open Graph Title: False positive missing-required-inputs for app_location when action: "close" in Azure Static Web Apps deploy · Issue #609 · github/vscode-github-actions
X Title: False positive missing-required-inputs for app_location when action: "close" in Azure Static Web Apps deploy · Issue #609 · github/vscode-github-actions
Description: Bug report Describe the bug The extension reports a missing-required-inputs error for app_location on the close_pull_request_job pattern recommended by Azure Static Web Apps. The workflow runs successfully in CI — the error is a false po...
Open Graph Description: Bug report Describe the bug The extension reports a missing-required-inputs error for app_location on the close_pull_request_job pattern recommended by Azure Static Web Apps. The workflow runs succ...
X Description: Bug report Describe the bug The extension reports a missing-required-inputs error for app_location on the close_pull_request_job pattern recommended by Azure Static Web Apps. The workflow runs succ...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/609
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"False positive missing-required-inputs for app_location when action: \"close\" in Azure Static Web Apps deploy","articleBody":"## Bug report\n\n**Describe the bug**\n\nThe extension reports a `missing-required-inputs` error for `app_location` on the\n`close_pull_request_job` pattern recommended by Azure Static Web Apps. The workflow\nruns successfully in CI — the error is a false positive.\n\n`Azure/static-web-apps-deploy@v1` marks `app_location` as `required: true` in its\n`action.yml`, but the field is only meaningful when `action: \"upload\"`. When\n`action: \"close\"`, the action ignores `app_location` entirely and completes without it.\n\n**Steps to reproduce**\n\nUse the standard close-PR job that Azure's own onboarding wizard generates, with GitHub Actions extension installed:\n\n```yaml\nbuild_and_deploy_job:\n if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')\n runs-on: ubuntu-latest\n name: Build and Deploy Job\n permissions:\n id-token: write\n contents: read\n steps:\n - uses: actions/checkout@v4\n with:\n submodules: true\n lfs: false\n - name: Build And Deploy\n id: builddeploy\n uses: Azure/static-web-apps-deploy@v1\n with:\n azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}\n repo_token: ${{ secrets.GITHUB_TOKEN }}\n action: \"upload\"\n app_location: \"/\"\n #api_location: \"api\"\n output_location: \"dist\"\n\nclose_pull_request_job:\n if: github.event_name == 'pull_request' && github.event.action == 'closed'\n runs-on: ubuntu-latest\n name: Close Pull Request Job\n steps:\n - name: Close Pull Request\n id: closepullrequest\n uses: Azure/static-web-apps-deploy@v1\n with:\n azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}\n action: \"close\"\n","author":{"url":"https://github.com/57shiki","@type":"Person","name":"57shiki"},"datePublished":"2026-06-28T18:19:44Z","url":"https://github.com/github/vscode-github-actions/issues/609"}
| 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:b98861d1-923b-0a80-5306-2e1e7b9a9256 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9A8:2A3251:6805F4:96EA31:6AFD7C6B |
| html-safe-nonce | ba413c785ed9a6907c60c2c29b6f99eb99585d48c3374322211d9ccbd89c49a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUE4OjJBMzI1MTo2ODA1RjQ6OTZFQTMxOjZBRkQ3QzZCIiwidmlzaXRvcl9pZCI6IjUyNzgwMTE3MDQ2OTk4Nzg1MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3418568c9dacb85e33090231de6f2c2044ceff3d12e0a57d2580d359f6a89af1 |
| hovercard-subject-tag | issue:4763182137 |
| 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/609/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f1cb0e1da43995936eafd5896397a6acc78c75fa418c086a553986853fddbd06/github/vscode-github-actions/issues/609 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1cb0e1da43995936eafd5896397a6acc78c75fa418c086a553986853fddbd06/github/vscode-github-actions/issues/609 |
| og:image:alt | Bug report Describe the bug The extension reports a missing-required-inputs error for app_location on the close_pull_request_job pattern recommended by Azure Static Web Apps. The workflow runs succ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 57shiki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e |
| 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 | 71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width