fix: update OIDC FIC subjects to match org-level custom claim template; bump action versions#525
Merged
MikeWedderburn-Clarke merged 1 commit intomainfrom Apr 12, 2026
Conversation
…d bump action versions - Update managed-identity.bicep FIC subjects from repo:org/repo format to repository_owner_id:ID:repository_id:ID format matching the org-level OIDC subject claim template - Replace githubOrg/githubRepo params with githubOwnerId/githubRepoId in managed-identity.bicep and main.bicep - Update nightly.yml deploy step to pass github.repository_owner_id and github.repository_id context variables - Bump actions/checkout v4→v5, actions/setup-node v4→v5, azure/login v2→v3 to resolve Node.js 20 deprecation warnings - Update spec docs (quickstart, data-model, infrastructure contract) Agent-Logs-Url: https://github.com/microsoft/CommunityManagement-Sample-Spec-Kit/sessions/697e147e-72e0-48fe-b468-33c85317e72a Co-authored-by: MikeWedderburn-Clarke <5323631+MikeWedderburn-Clarke@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
MikeWedderburn-Clarke
April 12, 2026 18:49
View session
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.
Nightly Build & Deploy fails at Azure OIDC login — the Microsoft GitHub org now uses a customised OIDC subject claim template (
repository_owner_id:ID:repository_id:ID:...) but the Bicep FICs were still configured with the oldrepo:org/repo:...format.OIDC FIC subject format
githubOrg/githubRepostring params withgithubOwnerId/githubRepoIdnumeric ID params acrossmanaged-identity.bicepandmain.biceprepository_owner_id:${githubOwnerId}:repository_id:${githubRepoId}:environment:${env}(and:ref:refs/heads/mainfor the staging main-branch FIC)nightly.ymldeploy step passes${{ github.repository_owner_id }}and${{ github.repository_id }}Action version bumps (Node.js 20 deprecation)
actions/checkoutv4 → v5actions/setup-nodev4 → v5azure/loginv2 → v3Applied across
ci.yml,deploy.yml, andnightly.yml.First run post-merge will still fail at
build-and-pushbecause the Azure FIC update happens in the downstreamdeployjob. One-time manual FIC update required:Subsequent Bicep deployments will self-maintain the correct format.