Skip to content

feat: Architecture Review action V1 #310

feat: Architecture Review action V1

feat: Architecture Review action V1 #310

Workflow file for this run

name: Architecture review (self-test)
# Self-test: every PR opened against this repo runs the local action.
# Useful for verifying the action's wiring; on first runs this will hit
# the "no baseline" path because the repo has no .codeboarding/analysis.json.
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs:
architecture-review:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false
timeout-minutes: 60
steps:
- name: Checkout action
uses: actions/checkout@v4
- name: Run CodeBoarding Architecture Review
uses: ./
with:
llm_api_key: ${{ secrets.OPENROUTER_API_KEY }}
# Match the models in the local .env used to generate the
# baseline analysis.json so CI hits the same OpenRouter presets.
agent_model: '@preset/production'
parsing_model: '@preset/production-parser'