Error: Please make sure to give write permissions to id-token in the workflow. Error: Login failed with Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.

Bump into this error here 

Error: Please make sure to give write permissions to id-token in the workflow.

Error: Login failed with Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information. `

And the fix is adding back id-token



jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    permissions:
      id-token: write








Comments

Popular posts from this blog

mongosh install properly

vllm : Failed to infer device type

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20