Before Watari pushes a draft PR, it now runs the build your repository already uses, so Java, Kotlin, Rust, Ruby and every other language get the same check TypeScript, Python, Go and C# had. A draft nothing could check says so on the PR.
- Watari reads your build from your CI definition (GitHub Actions or Azure Pipelines) and runs it in an isolated sandbox, once on your branch and once with the fix. When a fix breaks your build, Watari sees the errors and tries again before your team sees the PR.
- Prefer to say it yourself? Add a build command, and an optional setup command, in the repository's settings. It is used instead of Watari's built-in checks.
- Every draft PR now has a Validation section that says what was checked. When nothing could be checked, it says the draft is not validated and how to change that.
- Your CI still comes first: where your pipeline already builds Watari's pull requests, its result is the check.