fix(workflows): use APP_URL secret for scan target and auto-update on deploy AB#2139#51
Merged
emmanuelknafo merged 1 commit intomainfrom Mar 29, 2026
Conversation
… 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
Coverage Report for Coverage
File CoverageNo changed files found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
a11y-scan.ymlworkflows 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 auniqueStringsuffix). This causedERR_NAME_NOT_RESOLVED/ HTTP 500 when the scanner tried to reach the app.Changes
Scan workflows (all 5
a11y-scan.yml)secrets.APP_URLCI/CD workflows (all 5
ci-cd.yml)Update APP_URL secretstep after deploy that auto-sets theAPP_URLsecret using the freshly deployed URLBootstrap script
APP_URLfrom Azure deployment for each demo app and set as secret during bootstrapSibling repos
a11y-scan.ymlandci-cd.ymlto all 5 sibling reposAPP_URLsecret on all 5 repos from current Azure deploymentsFixes AB#2139