Mermaid PR architecture-diff action (level-1 default, nested opt-in) #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Self-test architecture diff | |
| # Exercises THIS branch's action (uses: ./) against the action repo itself, so a | |
| # PR posts a Mermaid architecture-diff comment. Remove before merge. | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| diagram: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./ | |
| with: | |
| llm_api_key: ${{ secrets.OPENROUTER_API_KEY }} | |
| agent_model: ${{ secrets.AGENT_MODEL }} | |
| parsing_model: ${{ secrets.PARSING_MODEL }} | |
| cta_base_url: https://codeboarding.pontux-inc.workers.dev | |
| depth_level: '2' # analyze deep (rich nested data for the workspace/extension) | |
| render_depth: '1' # but draw a clean top-level diagram in the PR |