`Error: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable`.
BeginnerTroubleshootingSecrets, Security and Pipeline Performance
Answer
Likely causes → Missing permissions: id-token: write at job/workflow level.
Diagnose → Check permissions:; note that defining any permissions resets unspecified ones to none.
Fix → Add id-token: write and contents: read.
Prevent → Template permissions blocks for OIDC jobs.
More on Secrets, Security and Pipeline Performance
A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.Advanced`gitleaks` finds a secret in an old commit, but the file is gone now.BeginnerTrivy scan fails the pipeline: `FATAL ... failed to download vulnerability DB ... TOOMANYREQUESTS`.Intermediate`cosign verify` fails: `no matching signatures: none of the expected identities matched`.AdvancedKyverno `verifyImages` blocks all deploys after rollout: `image verification failed`.AdvancedDependabot/Renovate PRs fail CI with unrelated errors.Beginner