[Test PR] Add test file for backport workflow validation #5556
Annotations
2 errors
|
main
🔧 OIDC Token Error - How to Fix:
This error typically occurs when your workflow lacks proper permissions for OIDC token generation.
✅ Solution 1 - Add workflow-level permissions:
Add this to the top of your workflow YAML file:
permissions:
id-token: write
contents: read
✅ Solution 2 - Add job-level permissions:
Add this to your specific job:
jobs:
your-job-name:
permissions:
id-token: write
contents: read
✅ Solution 3 - Verify repository configuration:
- Ensure your repository has OIDC enabled
- Check that the Vault OIDC provider is configured for your repository
📚 More info: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
|
|
main
❌ Failed to get OIDC token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
|