Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,8 @@ Cancels in-progress runs for same branch
* Security
* Adherence to AGENTS.md guidelines

**Secrets required**:

* `ANTHROPIC_API_KEY`
**Authentication**: workload identity federation through the repository-level
`ANTHROPIC_*` Actions variables; no secret is needed.

## Git Conventions

Expand Down Expand Up @@ -268,9 +267,8 @@ Cancels in-progress runs for same branch
* `CODECOV_TOKEN` - Codecov coverage reporting
* `SONAR_TOKEN` - SonarCloud analysis

**Claude Code**:

* `ANTHROPIC_API_KEY` - Claude API access
**Claude Code**: no secret; workload identity federation through the
repository-level `ANTHROPIC_*` Actions variables.

## Debugging CI Failures

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/claude-code-automation-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
- name: Run Claude Code PR Review
uses: anthropics/claude-code-action@d535f5172dec02b204866b393d6b20b9b2aaf98d # v1.0.266
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
anthropic_federation_rule_id: ${{ vars.ANTHROPIC_FEDERATION_RULE_ID }}
anthropic_organization_id: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}
anthropic_service_account_id: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}
anthropic_workspace_id: ${{ vars.ANTHROPIC_WORKSPACE_ID }}
track_progress: ${{ github.event_name == 'pull_request' && contains(fromJSON('["opened", "synchronize", "ready_for_review", "reopened"]'), github.event.action) }}
use_sticky_comment: true
claude_args: |
Expand Down
2 changes: 1 addition & 1 deletion docs/foundry/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ These services are active automatically at the organisation level:
| [CodeQL](https://github.com/aignostics/foundry-python-core/security/code-scanning) | Static security analysis | Runs weekly (Tuesdays 3:22 AM UTC) via included workflow |
| [CodeCov](https://app.codecov.io/gh/aignostics/foundry-python-core) | Coverage tracking & PR comments | Org-level; coverage uploads automatic |
| [Dependabot](https://github.com/aignostics/foundry-python-core/settings/security_analysis) | Dependency vulnerability alerts | Enabled by default via enterprise policy |
| [Claude Code](https://github.com/aignostics/foundry-python-core/actions) | AI-powered PR reviews (`claude` label) | `ANTHROPIC_API_KEY` is org-wide; no setup required |
| [Claude Code](https://github.com/aignostics/foundry-python-core/actions) | AI-powered PR reviews (`claude` label) | Workload identity federation through the `ANTHROPIC_*` Actions variables; org-wide for private and internal repositories, set on the repository for public ones |

### Renovate

Expand Down
Loading