Skip to content

chore: switch Claude workflows from Foundry to AWS Bedrock#1504

Merged
aseembits93 merged 2 commits intomainfrom
chore/claude-workflow-aws-bedrock
Feb 17, 2026
Merged

chore: switch Claude workflows from Foundry to AWS Bedrock#1504
aseembits93 merged 2 commits intomainfrom
chore/claude-workflow-aws-bedrock

Conversation

@aseembits93
Copy link
Contributor

Summary

  • Replace Azure Foundry (Microsoft) authentication with AWS Bedrock OIDC across all Claude Code GitHub Actions workflows
  • Add aws-actions/configure-aws-credentials@v4 step to each job for OIDC-based authentication
  • Update model identifiers from claude-opus-4-6 to the Bedrock format us.anthropic.claude-opus-4-6-v1:0
  • Remove ANTHROPIC_FOUNDRY_API_KEY and ANTHROPIC_FOUNDRY_BASE_URL environment variables (no longer needed — AWS credentials are injected by the configure-aws-credentials action)

Affected workflows

  • .github/workflows/claude.yml — both pr-review and claude-mention jobs
  • .github/workflows/duplicate-code-detector.ymldetect-duplicates job

Required secrets

The following GitHub repository secrets must be configured before merging:

  • AWS_ROLE_TO_ASSUME — ARN of the IAM role for OIDC federation
  • AWS_REGION — AWS region where Bedrock is enabled

The old AZURE_ANTHROPIC_API_KEY and AZURE_ANTHROPIC_ENDPOINT secrets can be removed after this lands.

Test plan

  • Verify AWS_ROLE_TO_ASSUME and AWS_REGION secrets are set in the repository
  • Confirm the IAM role has Bedrock model access for us.anthropic.claude-opus-4-6-v1:0 (cross-region inference)
  • Open a test PR to trigger the pr-review job and confirm it authenticates and runs successfully
  • Test @claude mention in a PR comment to verify the claude-mention job
  • Trigger the duplicate-code-detector workflow manually to verify

🤖 Generated with Claude Code

Replace Azure Foundry authentication with AWS Bedrock OIDC in all
Claude Code GitHub Actions workflows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the workflow-modified This PR modifies GitHub Actions workflows label Feb 17, 2026
@aseembits93
Copy link
Contributor Author

@Saga4 i have added the necessary secrets, you can force merge this one

@aseembits93 aseembits93 merged commit e739649 into main Feb 17, 2026
27 of 29 checks passed
@aseembits93 aseembits93 deleted the chore/claude-workflow-aws-bedrock branch February 17, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflow-modified This PR modifies GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments