fix(workflows): add OIDC federated credential for scanner teardown environment AB#2134#46
Merged
emmanuelknafo merged 1 commit intomainfrom Mar 29, 2026
Conversation
…vironment AB#2134 - add teardown environment credential in setup-oidc.ps1 - create teardown environment on scanner repo in bootstrap-demo-apps.ps1 🔧 - 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
deploy-all.ymlteardown job usesenvironment: teardownon the scanner repo, which produces the OIDC subject claimrepo:devopsabcs-engineering/accessibility-scan-demo-app:environment:teardown. No matching federated identity credential existed, causing Azure login to fail with AADSTS700213.Changes
github-actions-scanner-teardown-envfederated credential for the scanner repo'steardownenvironmentteardownGitHub environment on the scanner repo so the approval gate worksFixes AB#2134