Skip to content

fix(deploy): respect resource group when selecting app - #1012

Open
Andrea Ceroni (andrekiba) wants to merge 1 commit into
Azure:mainfrom
andrekiba:andrekiba-fix-deploy-resource-group
Open

Andrea Ceroni (andrekiba) wants to merge 1 commit into
Azure:mainfrom
andrekiba:andrekiba-fix-deploy-resource-group

Conversation

@andrekiba

Copy link
Copy Markdown

Summary

  • Filter Static Web App selection by the --resource-group value during deploy login/setup.
  • Add a regression test proving an explicitly named site is looked up in the requested resource group.

Fixes #958

Validation

  • npm test -- src/core/account.spec.ts src/cli/commands/deploy/deploy.spec.ts
  • npm run build

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 28, 2026 08:31
@github-actions github-actions Bot added the scope: core Issues happened a the ./src/core level label Sep 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Fixes Static Web App selection by honoring the requested --resource-group during deployment.

Changes:

  • Passes the resource group when listing Static Web Apps.
  • Adds regression coverage for resource-group-scoped lookup.
File Description
src/​core/​account.ts Filters site selection by resource group.
src/​core/​account.spec.ts Tests lookup within the requested resource group.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@andrekiba

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: core Issues happened a the ./src/core level

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selected static web site not filtered by resource group

2 participants