graemer-org/Wick PR cost report
Wick AI cost in CI: post a PR's sticky cost comment (report), remap stamps after a squash/rebase merge (reconcile), or capture an agent run's cost (stamp).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token used to post the PR comment | no | ${{ github.token }} |
| mode | 'report' posts the sticky PR cost comment; 'reconcile' remaps stamps after a squash/rebase merge (run on pull_request closed+merged); 'stamp' captures a CI run's cost — stamps + pushes notes when the run made a commit, else logs the cost (and posts it as a comment if comment-issue is set) | no | report |
| base-sha | 'stamp' mode: HEAD before the agent ran. Required for stamp — it's how the run tells a fresh commit (stamp it) from a question-only run (comment the cost). Omitting it skips capture entirely (a blind stamp could double-count on re-runs). | no | "" |
| comment-issue | 'stamp' mode: issue/PR number to post the cost comment on when the run made no commit; omit to only log the cost | no | "" |
| comment-only | 'stamp' mode: set 'true' for workflows that never make a dev commit (PR review, issue triage) — always report the cost as a comment, never stamp. Skips HEAD detection, which is unreliable when the surrounding action moves HEAD (e.g. checks out the PR head). | no | "" |
Outputs
no outputs