Skip to content

fix(workflows): add OIDC federated credential for scanner teardown environment AB#2134#46

Merged
emmanuelknafo merged 1 commit intomainfrom
feature/2134-add-teardown-oidc-credential
Mar 29, 2026
Merged

fix(workflows): add OIDC federated credential for scanner teardown environment AB#2134#46
emmanuelknafo merged 1 commit intomainfrom
feature/2134-add-teardown-oidc-credential

Conversation

@emmanuelknafo
Copy link
Copy Markdown
Contributor

@emmanuelknafo emmanuelknafo commented Mar 29, 2026

Summary

The deploy-all.yml teardown job uses environment: teardown on the scanner repo, which produces the OIDC subject claim repo:devopsabcs-engineering/accessibility-scan-demo-app:environment:teardown. No matching federated identity credential existed, causing Azure login to fail with AADSTS700213.

Changes

  • setup-oidc.ps1 — add github-actions-scanner-teardown-env federated credential for the scanner repo's teardown environment
  • bootstrap-demo-apps.ps1 — create the teardown GitHub environment on the scanner repo so the approval gate works

Fixes AB#2134

…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
@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 #125 for commit 6ee5495 by the Vitest Coverage Report Action

@emmanuelknafo emmanuelknafo merged commit 8330472 into main Mar 29, 2026
18 checks passed
@emmanuelknafo emmanuelknafo deleted the feature/2134-add-teardown-oidc-credential branch March 29, 2026 21:14
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