Skip to main content
POST
/
api
/
v1
/
git-checks
/
skip
Skip Git Check
curl --request POST \
  --url https://dash.empirical.run/api/v1/git-checks/skip \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo": "<string>",
  "commit_sha": "<string>",
  "environment": "<string>"
}
'
{
  "data": {
    "check_run_id": 12345678,
    "status": "skipped"
  },
  "error": null
}
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.
The Empirical GitHub App must be installed on the target repository for this endpoint to work.
{
  "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"
  }'

Authorizations

Authorization
string
header
required

API key from the Empirical dashboard.

Body

application/json

Repository and commit to skip.

repo
string
required
commit_sha
string
required
environment
string

Response

Check run created as skipped.

data
object
required