Skip to content

Conversation

lgallard
Copy link
Owner

Summary

Fixes the AWS Backup Feature Discovery workflow failure by adding the required id-token: write permission for OIDC authentication.

Problem

The workflow was failing at the "Run Claude Code Feature Discovery" step with the error:

Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
Did you remember to add id-token: write to your workflow permissions?

Solution

Added id-token: write to the permissions section of the workflow file .github/workflows/feature-discovery.yml.

Changes

  • ✅ Added id-token: write permission to workflow
  • ✅ Pre-commit checks passed
  • ✅ No breaking changes

Test plan

  • Workflow should now run successfully without OIDC authentication errors
  • Feature discovery process should complete as expected

Closes #224

Resolves workflow failure in AWS Backup Feature Discovery where the
anthropics/claude-code-action@beta requires id-token: write permission
to authenticate via OIDC tokens.

Closes #224
@lgallard lgallard merged commit 25c445a into master Aug 31, 2025
36 checks passed
@lgallard lgallard deleted the fix/oidc-permissions-workflow branch August 31, 2025 23:23
@github-actions github-actions bot mentioned this pull request Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add id-token: write to workflow permissions to fix OIDC error

1 participant