jaipilot/JAIPilot - Reach 80%+ Unit Test Coverage on Every PR
Achieve 80%+ unit test coverage on every PR by automatically generating production-ready tests for Java (Maven & Gradle).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 7, 2026
- License
- MIT
Pinned Snippet
uses: jaipilot/jaipilot-cli@62c384c25e59ca5e432066352ce20005681db0bc # v0.3.42tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Project directory in which JAIPilot runs. | no | . |
| java-version | Temurin Java version to install before running JAIPilot. | no | 21 |
| jaipilot-auth-token | JAIPilot runtime token. If omitted, the action auto-exchanges GitHub OIDC for a short-lived runtime token when available. | no | — |
| jaipilot-token-endpoint | Optional override for the JAIPilot OIDC exchange endpoint. | no | "" |
| jaipilot-oidc-audience | GitHub OIDC audience used during runtime token exchange. | no | jaipilot-github-app |
| fail-on-generate-error | Fail the workflow if generation fails for one or more classes. | no | true |
| commit-message | Commit message for generated test changes. | no | chore: generate tests with JAIPilot |
| git-user-name | Git author name for the generated commit. | no | github-actions[bot] |
| git-user-email | Git author email for the generated commit. | no | 41898282+github-actions[bot]@users.noreply.github.com |
Outputs
| name | description |
|---|---|
| processed-classes | Number of changed Java production classes processed. |
| failed-classes | Number of classes for which generation failed. |
| commit-sha | Commit SHA pushed by this action. Empty if no changes were committed. |