79315155

Date: 2024-12-29 08:07:09
Score: 0.5
Natty:
Report link

I've found the root cause for this problem. In my GitHub secrets, I had AZURE_SUBSCRIPTION_ID which contained roleId I tried to output from workflow. GitHub Actions evaluates whether wanted output contains one of the secrets of the repository and if that's the case, then it won't allow to output these values.

This is format of the output: /subscriptions/AZURE_SUBSCRIPTION_ID/providers/Microsoft.Authorization/roleDefinitions/roleId

My solution to it was to move AZURE_SUBSCRIPTION_ID to repository variables instead of secrets and now it's working correctly.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Piotr Gębalski