Skip to content

fix(workflows): use APP_URL secret for scan target and auto-update on deploy AB#2139#51

Merged
emmanuelknafo merged 1 commit intomainfrom
feature/2139-use-app-url-secret-for-scan-target
Mar 29, 2026
Merged

fix(workflows): use APP_URL secret for scan target and auto-update on deploy AB#2139#51
emmanuelknafo merged 1 commit intomainfrom
feature/2139-use-app-url-secret-for-scan-target

Conversation

@emmanuelknafo
Copy link
Copy Markdown
Contributor

@emmanuelknafo emmanuelknafo commented Mar 29, 2026

Summary

The a11y-scan.yml workflows in all 5 demo apps had hardcoded app URLs (e.g. a11y-demo-app-001-app.azurewebsites.net) that don't match actual deployed URLs (which include a uniqueString suffix). This caused ERR_NAME_NOT_RESOLVED / HTTP 500 when the scanner tried to reach the app.

Changes

Scan workflows (all 5 a11y-scan.yml)

  • Replace hardcoded app URL with secrets.APP_URL

CI/CD workflows (all 5 ci-cd.yml)

  • Add Update APP_URL secret step after deploy that auto-sets the APP_URL secret using the freshly deployed URL

Bootstrap script

  • Resolve APP_URL from Azure deployment for each demo app and set as secret during bootstrap

Sibling repos

  • Pushed updated a11y-scan.yml and ci-cd.yml to all 5 sibling repos
  • Set APP_URL secret on all 5 repos from current Azure deployments

Fixes AB#2139

… deploy AB#2139

- replace hardcoded app URLs with APP_URL secret in all 5 a11y-scan.yml
- add APP_URL secret update step to all 5 ci-cd.yml after deploy
- add APP_URL resolution from Azure to bootstrap script

🔧 - Generated by Copilot
@github-actions
Copy link
Copy Markdown

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 83.29% (🎯 80%) 723 / 868
🔵 Statements 82.82% (🎯 80%) 786 / 949
🔵 Functions 80.86% (🎯 80%) 131 / 162
🔵 Branches 70.09% (🎯 65%) 368 / 525
File CoverageNo changed files found.
Generated in workflow #135 for commit cbc599c by the Vitest Coverage Report Action

@emmanuelknafo emmanuelknafo merged commit 939e2c4 into main Mar 29, 2026
14 of 18 checks passed
@emmanuelknafo emmanuelknafo deleted the feature/2139-use-app-url-secret-for-scan-target branch March 29, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant