athena900/Go Prism
Generate Go pull-request evidence reports and optionally publish a sticky PR comment.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Base git ref or SHA to compare from. | no | origin/main |
| head | Head git ref or SHA to compare to. | no | HEAD |
| config | Config file path relative to the workspace. The default is ignored when the file does not exist. | no | .go-prism.yml |
| workdir | Target Go module directory. Defaults to the GitHub workspace. | no | "" |
| module | Optional module path override. | no | "" |
| timeout | go-prism analysis timeout. | no | 30s |
| output | Report output path relative to the workspace. | no | go-prism-report.md |
| format | Report format. Sticky comments require markdown. | no | markdown |
| write-summary | Append the report to the GitHub Actions step summary. | no | true |
| preflight-doctor | Run go-prism doctor before generating the report. | no | true |
| sticky-comment | Create or update a sticky PR comment for same-repository pull requests. | no | false |
| github-token | GitHub token used for sticky PR comments. | no | "" |
| pr-number | Pull request number. By default go-prism reads it from the GitHub event payload. | no | "" |
| comment-marker | Hidden marker used to find the sticky PR comment. | no | <!-- go-prism:report --> |
| setup-go | Run actions/setup-go before go-prism. | no | true |
| go-version-file | Go version file used when setup-go is true. | no | go.mod |
| go-cache | Enable actions/setup-go module cache when setup-go is true. | no | true |
Outputs
| name | description |
|---|---|
| report-path | Absolute path to the generated report file. |