GitHub Actions do not work - OIDC ref. is wrongly setup #265
Labels
bug
Something isn't working
needs research or confirmation
This issue needs more research and documentation before being accepted.
Describe the bug
When I deploy this repository from script, the predefined GitHub actions will not work. I get the following error message:
I took a look at the created OIDC app and found out that the subject is set up differently:
(screenshot in german, sorry :-) )
I changed the "Antragstellerbezeichner" from
repo:[email protected]:myorganization/azure-saas.git:ref:refs/heads/main
torepo:myorganization/azure-saas:ref:refs/heads/main
and then it worked.So the script creates the OIDC federation credentials with the wrong parameters.
Expected behavior
When running script create-oidc-workflow-github-action.sh, it should correctly setup the federation credentials .
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: