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.…