arthur-debert/rustloc-diff
Run rustloc on a pull request diff and post the result as a sticky PR comment.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | rustloc version to install (e.g. 0.16.0), or 'latest'. | no | latest |
| base | Base git ref to diff from. Defaults to the PR base SHA. | no | ${{ github.event.pull_request.base.sha }} |
| head | Head git ref to diff to. Defaults to the PR head SHA. | no | ${{ github.event.pull_request.head.sha }} |
| args | Extra args passed to `rustloc diff` (e.g. "--by-file -t code,tests"). | no | --by-file |
| comment | Post (and update on subsequent runs) a sticky comment on the PR. | no | true |
| github-token | Token used to post the PR comment. Needs `pull-requests: write`. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| body | The full markdown body that was (or would be) posted to the PR. |