Skip to content

Commit e00323a

Browse files
committed
test: self-test workflow to run the action on a PR (remove before merge)
1 parent f9762d8 commit e00323a

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/test-self.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Self-test architecture diff
2+
3+
# Exercises THIS branch's action (uses: ./) against the action repo itself, so a
4+
# PR posts a Mermaid architecture-diff comment. Remove before merge.
5+
6+
on:
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
permissions:
11+
pull-requests: write
12+
13+
jobs:
14+
diagram:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 60
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: ./
20+
with:
21+
llm_api_key: ${{ secrets.OPENROUTER_API_KEY }}
22+
agent_model: ${{ secrets.AGENT_MODEL }}
23+
parsing_model: ${{ secrets.PARSING_MODEL }}

0 commit comments

Comments
 (0)