Skip to content

fix: configure duplicate code detector for Azure Foundry#1490

Merged
KRRT7 merged 2 commits intomainfrom
fix-duplicate-detector-foundry
Feb 14, 2026
Merged

fix: configure duplicate code detector for Azure Foundry#1490
KRRT7 merged 2 commits intomainfrom
fix-duplicate-detector-foundry

Conversation

@KRRT7
Copy link
Collaborator

@KRRT7 KRRT7 commented Feb 14, 2026

Summary

  • Add Foundry env vars (ANTHROPIC_FOUNDRY_API_KEY, ANTHROPIC_FOUNDRY_BASE_URL) so the workflow authenticates via Azure Foundry
  • Add new-branch-from-main rule to git guidelines

Pass ANTHROPIC_FOUNDRY_API_KEY and ANTHROPIC_FOUNDRY_BASE_URL env vars
so Claude Code CLI authenticates via Azure Foundry instead of direct API.
@github-actions github-actions bot added the workflow-modified This PR modifies GitHub Actions workflows label Feb 14, 2026
@KRRT7 KRRT7 merged commit de78ffe into main Feb 14, 2026
28 of 31 checks passed
@KRRT7 KRRT7 deleted the fix-duplicate-detector-foundry branch February 14, 2026 23:29
@claude
Copy link
Contributor

claude bot commented Feb 14, 2026

PR Review Summary

Prek Checks

Passed — No Python files changed in this PR. Prek ran and reported (no files to check) Skipped for both ruff check and ruff format.

Mypy Checks

N/A — No Python files changed; mypy has nothing to check.

Code Review

No issues found. This PR makes three small, well-scoped changes:

File Change
.claude/rules/git.md Adds new-branch-from-main rule to git guidelines
.github/workflows/duplicate-code-detector.md Adds ANTHROPIC_FOUNDRY_API_KEY and ANTHROPIC_FOUNDRY_BASE_URL env vars (referencing secrets, not hardcoded)
.github/workflows/duplicate-code-detector.lock.yml Compiled workflow with same env vars added + updated frontmatter hash
  • No security concerns — secrets are properly referenced via ${{ secrets.* }}
  • No breaking API changes
  • No logic or runtime behavior affected

Test Coverage

N/A — No Python source files changed. No coverage impact.


Last updated: 2026-02-14

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.

1 participant