Are the differences between the gigub API capturing failure and error statuses?

What is the difference between the github API commit statuses "failure" and "error"?

+8
git git-commit github github-api
source share
2 answers

GitHub API statuses include labeling with success, failure, error, or pending status.

Typically, in the context of continuous integration, commit:

  • marked as failed because the task failed
  • marked as an error because the task completed but ended with a non-zero status
  • marked as success because the task is completed and completed with zero status

(work as tasks performed by the task scheduler )

+9
source share

I asked this question from official GitHub and got the following answer:

Hello Alexander,

Thanks for contacting GitHub support! T

  • A failed CI check is when the check failed the required conditions.
  • A CI check, which is erroneous, occurs when the check itself has an error that interferes with its proper operation.

Let me know if you need more information.

+1
source share

All Articles