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
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,7 @@ Review mode does not need `contents: write`: PR-specific generated files are sto
262
262
|`mode`| both |`review`|`review` posts the PR architecture-diff comment; `sync` analyzes on push and commits the architecture (`analysis.json` + rendered docs) to `target_branch`, keeping it versioned and current. |
263
263
|`github_token`| both |`${{ github.token }}`| Token for GitHub API calls; in review mode it posts or updates the PR comment. |
264
264
|`push_token`| sync |`${{ github.token }}`| Token used for sync-mode pushes to `target_branch`. The workflow token can push when the workflow grants `permissions: contents: write`. Separate from `github_token` so commenting can use a GitHub App token while the push uses the workflow token. |
265
-
|`engine_ref`| both |`v0.12.1`| CodeBoarding engine ref. Pin for reproducibility. |
265
+
|`codeboarding_version`| both |`0.12.2`| CodeBoarding PyPI package version used as the analysis engine. Pin for reproducibility. |
266
266
|`depth_level`| both | empty (`2` for cold starts) | Analysis depth, 1 to 3, used for first analysis and `force_full` rebuilds. Once `.codeboarding/analysis.json` exists, its `metadata.depth_level` is the source of truth for incremental analysis and fallback-full recovery. |
267
267
|`render_depth`| review |`1`| Display depth for the PR diagram. Keep `1` for a clean top-level view. |
@@ -296,7 +296,7 @@ Outputs of the mode that did not run are empty strings.
296
296
297
297
## Notes
298
298
299
-
- No checkout step is required in your workflow. This action checks out the target (the PR in review mode, the pushed commit in sync mode) and the CodeBoarding engine internally.
299
+
- No checkout step is required in your workflow. This action checks out the target (the PR in review mode, the pushed commit in sync mode) and installs the CodeBoarding engine from PyPI internally.
300
300
- GitHub withholds secrets from fork PRs on `pull_request`, so fork runs fail early if an LLM key is unavailable.
301
301
- Do not use `pull_request_target` for this action. It can expose secrets to PR-head code.
302
302
- GitHub renders Mermaid in strict mode, so node click-through links are not supported in the PR diagram.
Copy file name to clipboardExpand all lines: action.yml
+31-78Lines changed: 31 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,10 @@ inputs:
31
31
description: 'Token used for sync-mode git pushes to target_branch. Defaults to the workflow github.token, which can push when the calling workflow grants "permissions: contents: write". Kept separate from github_token so commenting can use a GitHub App token while the push uses the workflow token (whose write access the consumer controls).'
32
32
required: false
33
33
default: ${{ github.token }}
34
-
engine_ref:
35
-
description: 'Git ref (tag/branch/SHA) of CodeBoarding/CodeBoarding used as the analysis engine. Pinned to a release for reproducibility; override to track a newer ref.'
34
+
codeboarding_version:
35
+
description: 'CodeBoarding PyPI package version used as the analysis engine. Pin for reproducibility; set to a newer released version to opt into newer engine releases.'
36
36
required: false
37
-
default: 'v0.12.1'
37
+
default: '0.12.2'
38
38
depth_level:
39
39
description: 'Analysis depth (1-3) for cold-start or force_full rebuilds. Once .codeboarding/analysis.json exists, its metadata.depth_level is the source of truth for incremental analysis and fallback-full recovery. Empty (default): 2 for cold starts.'
40
40
required: false
@@ -142,7 +142,7 @@ runs:
142
142
# interleave only because they share the LLM-key lifecycle, NOT because they
0 commit comments