Menu

1 / 2

Unable to get ACTIONS_ID_TOKEN_REQUEST_URL in GitHub Actions

DEV Community: cicd·Kay·about 15 hours ago
#soQAqvqV
#devtocicd#devto#dev#token#error
Reading 0:00
15s threshold

Unable to get ACTIONS_ID_TOKEN_REQUEST_URL is thrown by @actions/core when an environment variable it expects is absent, before any request is made to GitHub or to a cloud provider. The runner never received the variable, so nothing on the machine can produce it.

getIDToken reads the URL first, so the URL message is the one you see even though both variables are absent together. The catch block then prefixes it with "Error message: ".

What this error means

A cloud login, an attestation step or any action that mints an OIDC token fails within a second of starting. No provider is contacted, so there is no cloud-side error to look at and no audit entry anywhere.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.