auroralabs-loci/LOCI Action
Upload binaries and get LOCI performance insights directly in GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token for API access (used for merge-base detection in PRs) | no | ${{ github.token }} |
| mode | Operation to perform. Can be 'upload' or 'summary'. | yes | — |
| project | Project name. | yes | — |
| binaries | Paths to binaries (required for 'upload', ignored for 'summary'). Accepts a newline-separated list. | no | — |
| target | Project version name for this run (the name under which the uploaded binaries and resulting summary are recorded). May be reused across multiple runs. If omitted, it defaults to '<branch>@<shortSHA>' for the current HEAD commit (e.g., 'main@a1b2c3d'). | no | — |
| base | Optional project base version name to compare 'target' against. If omitted on pull_request events, it defaults to the PR merge base: '<base-branch>@<base-shortSHA>'. On other events, no implicit base is chosen unless you provide one. | no | — |
| top-n-symbols | Number of symbols displayed in function insights - summary step | yes | 5 |
| wait-base | Whether to wait for the base version’s processing to finish. Only relevant if a base input is provided and it has not yet been processed. Accepts 'true' or 'false'. | no | true |
| optimize | Whether to use the LOCI Coding Agent to optimize uploaded binaries (only for mode: upload). Ignored if the PR author is the LOCI Agentic AI bot. Accepts 'true' or 'false'. | no | false |
Outputs
| name | description |
|---|---|
| target | Resolved project version name used for this run. |
| base | Resolved project base version name (may be empty). |
| summary | LOCI summary |