Skip to content

Commit 6c91c5d

Browse files
committed
fix: add GITHUB_TOKEN for Claude Code action authentication
Added TERRAFORM_AUTOMATION_TOKEN as GITHUB_TOKEN environment variable to enable GitHub API access for the Claude Code action. This resolves the "Bad credentials" authentication error. Follows the same pattern as terraform-aws-ecr repository.
1 parent 3459713 commit 6c91c5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/feature-discovery.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
uses: anthropics/claude-code-action@beta
7676
env:
7777
CLAUDE_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
78+
GITHUB_TOKEN: ${{ secrets.TERRAFORM_AUTOMATION_TOKEN }}
7879
with:
7980
claude_code_oauth_token: ${{ env.CLAUDE_TOKEN }}
8081
mode: agent

0 commit comments

Comments
 (0)