honahec/cpp-include-insight
Run cpp-include-insight include graph reports and CI checks on pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Base Git revision or ref to compare against HEAD. | no | origin/main |
| include-dirs | Whitespace-separated include directories passed as -I arguments. | no | "" |
| compile-commands | Path to compile_commands.json used for precise per-translation-unit include resolution. | no | "" |
| build-command | Optional command that generates compile_commands.json before analysis. | no | "" |
| config | Optional cpp-include-insight JSON config path for CI threshold rules. | no | "" |
| fail-on-new-cycle | Fail the action when the include graph diff introduces a new project include cycle. | no | false |
| comment | Post or update a pull request comment with the Markdown include graph report. | no | false |
| report-path | Path where the Markdown include graph report should be written. | no | cpp-include-insight-report.md |
| github-token | GitHub token used when comment is true. | no | "" |
Outputs
| name | description |
|---|---|
| report-path | Path to the generated Markdown report. |
| report | Generated Markdown report body. |