A cloud-based identity and access management service for securing user authentication and resource access
New requirement in this doc here states you need to have one or the other of repository_id or repository_owner_id in the claims matching expression. I validated it works for me now once I added that.
Add required claims to a flexible federated identity credential
For GitHub, a flexible federated identity credential must match the sub claim and one or both of the following additional claims:
-
repository_ididentifies the repository where the workflow runs. -
repository_owner_ididentifies the repository owner.
These additional claims are required regardless of whether sub uses a name-based, customized, or immutable format. Include the claims that represent the intended trust boundary.