Marks a GitHub check run as skipped for the specified repository and commit. This is useful when a commit
does not require a test run (e.g. documentation-only changes) and you want to unblock a required status check.
Request
Bearer token for authentication. Format: Bearer <your-api-key>
Full repository name in owner/repo format (e.g. acme/web-app).
The full Git commit SHA to skip the check for.
The environment slug (e.g. production, staging). When provided, the check run will be
named Empirical tests - <environment name>. When omitted, it defaults to Empirical tests.
Response
The GitHub check run ID that was created.
{
"data": {
"check_run_id": 12345678,
"status": "skipped"
},
"error": null
}
Example
curl -X POST \
https://dash.empirical.run/api/v1/git-checks/skip \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EMPIRICALRUN_KEY" \
-d '{
"repo": "acme/web-app",
"commit_sha": "4fe4a72397cfdaaccd033b656acd39ad7603294e"
}'