a3s-lab/A3S Code
Run a bounded A3S Code review or workspace edit in GitHub Actions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Aug 28, 2026
- License
- MIT
Pinned Snippet
uses: a3s-lab/cli@a65a8a361dd5a240a7e53319149890f3267883f0 # v0.13.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token used for actor verification and opt-in pull-request review publication. | yes | — |
| prompt | Inline A3S Code instruction. Exactly one of prompt or prompt-file is required. | no | — |
| prompt-file | UTF-8 prompt file inside the checked-out workspace. | no | — |
| working-directory | Existing directory inside GITHUB_WORKSPACE used as the A3S workspace. | no | . |
| config | Optional existing ACL configuration file inside GITHUB_WORKSPACE. | no | — |
| model | Optional provider/model override. | no | — |
| permissions | Closed tool profile: read-only or workspace-write. | no | read-only |
| a3s-version | Compatible stable A3S release tag to install, or latest. | no | latest |
| a3s-path | Optional preinstalled A3S executable path; skips release installation. | no | — |
| allowed-actors | Optional comma-separated exact GitHub logins trusted without a collaborator API lookup. | no | — |
| publish-review | Publish the validated A3S P0/P1 result as a native GitHub pull-request review. | no | false |
| pull-request-number | Explicit pull-request number for workflow_dispatch or another trusted event. | no | — |
| timeout-seconds | A3S execution deadline from 1 through 7200 seconds. | no | 1800 |
Outputs
| name | description |
|---|---|
| final-message | Final A3S Code response. The action never logs this value automatically. |
| final-message-truncated | Whether final-message was UTF-8 truncated to stay inside GitHub's job-output limit. |
| session-id | Durable A3S Code session identifier. |
| usage-json | Compact JSON token-usage object returned by A3S Code. |
| result-file | Private runner-temporary path containing the complete structured A3S result. |
| review-published | Whether a native GitHub pull-request review was published. |
| review-url | URL of the published GitHub pull-request review. |
| review-findings | Number of validated P0/P1 inline findings published. |