| working-directory | Directory to run Gradle from (where ./gradlew lives). | no | android |
| gradle-task | Gradle task that validates Compose screenshot tests. | no | validateDebugScreenshotTest |
| gradle-flags | Extra flags appended to the Gradle invocation. | no | --no-configuration-cache |
| reference-substring | Path substring used to identify reference image files (relative to repo root). | no | /src/screenshotTestDebug/reference/ |
| rendered-glob | Glob (under working-directory) for rendered screenshot outputs produced when the Gradle task fails. | no | **/build/outputs/screenshotTest-results/preview/debug/rendered |
| java-version | JDK version for actions/setup-java. | no | 21 |
| java-distribution | JDK distribution for actions/setup-java. | no | temurin |
| ref-branch-prefix | Prefix for the auto-created reference-image branch. PR number is appended. | no | screenshot-refs/pr- |
| commit-message | Commit message used when pushing reference image updates. | no | chore: update Compose screenshot reference images |
| pr-title | Title for the auto-opened reference PR. {pr} is replaced with the parent PR number. | no | chore: screenshot reference images for PR #{pr} |
| artifact-name | Name of the uploaded diff report artifact. | no | screenshot-diff-report |
| artifact-path | Path glob for diff report artifact contents. | no | **/build/reports/screenshotTest/ |
| comment-header | Header used to identify and replace prior bot comments. Must start with "## ". | no | ## Compose screenshot tests |
| token | GitHub token used to push, comment, and open PRs. | no | ${{ github.token }} |
| fail-on-diff | If true, the action fails when reference images needed updating or validation failed. | no | true |
| setup-java | If true, the action installs JDK via actions/setup-java. Set to false if your workflow already sets up Java. | no | true |
| setup-gradle | If true, the action runs gradle/actions/setup-gradle. Set to false to skip. | no | true |