src pr checks
Get Merge Checks Returns comprehensive information about merge requirements: - Code review status and approval rules - Merge conflicts detection - CI workflow execution status - Configuration validation results
Usage
src pr checks [<pull-request>] [flags]
Examples
View merge checks for current PR (based on current branch)
src pr checks
View merge checks for a pull request by number
src pr checks 42
View checks from another repository
src pr checks 42 -R foo/bar
JSON output
src pr checks --json
Flags
| Flag | Description |
|---|---|
--pull-request-id string |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src pr checks <subcommand> --help for more information about a command.