You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -61,7 +61,7 @@ You need **one secret**: an LLM API key. OpenRouter is the default; pass your ow
61
61
62
62
### On-demand: the `/codeboarding` command
63
63
64
-
Comment **`/codeboarding`** on any pull request to (re)run the diagram on demand — handy after the engine/baseline changes, or on draft PRs you don't auto-review. The action reacts with 👀 to acknowledge. Change the word via the `trigger_command` input.
64
+
Comment **`/codeboarding`** on any same-repository pull request to (re)run the diagram on demand — handy after the engine/baseline changes, or on draft PRs you don't auto-review. The action reacts with 👀 to acknowledge. Change the word via the `trigger_command` input.
65
65
66
66
> **Note:** GitHub runs `issue_comment` workflows from the **default branch's** copy of the workflow file. So the command only works once this workflow is merged to your default branch — a workflow that exists only on a feature branch won't respond to comments.
67
67
@@ -87,7 +87,7 @@ Comment **`/codeboarding`** on any pull request to (re)run the diagram on demand
87
87
| Output | Description |
88
88
|---|---|
89
89
| `diagram_md` | Path to the rendered ```` ```mermaid ```` block in the runner workspace. |
90
-
| `n_changed` | Number of top-level components added/modified/deleted. |
90
+
| `n_changed` | Number of components added/modified/deleted, counted recursively. |
91
91
| `truncated` | `true` if the diagram was reduced to changed-only to fit GitHub's Mermaid limit. |
92
92
93
93
## How the diff is colored
@@ -117,7 +117,7 @@ If `.codeboarding/analysis.json` isn't committed at the PR base commit, the acti
117
117
118
118
## Fork PRs
119
119
120
-
Because nothing is pushed (the diagram is inline Mermaid), there is no image step to skip on forks. The one caveat is GitHub's own policy: **secrets are withheld from `pull_request`-triggered runs on forks**, so the LLM key is unavailable and the run fails early with a clear message. A maintainer can re-run from the Actions tab, or use `pull_request_target` if you understand its security implications.
120
+
Because nothing is pushed (the diagram is inline Mermaid), there is no image step to skip on forks. The one caveat is GitHub's own policy: **secrets are withheld from `pull_request`-triggered runs on forks**, so the LLM key is unavailable and the run fails early with a clear message. Do not use `pull_request_target` for this action; it would analyze PR-head code while secrets are available. The trusted `/codeboarding` `issue_comment` path is intentionally limited to same-repository PRs, so fork code is not analyzed with repository secrets present.
0 commit comments