Edit

PolicyEvaluationStatus Enum

Definition

Status of a policy which is running against a specific pull request.

[System.Runtime.Serialization.DataContract]
public enum PolicyEvaluationStatus
type PolicyEvaluationStatus = 
Public Enum PolicyEvaluationStatus
Inheritance
PolicyEvaluationStatus
Attributes

Fields

Name Value Description
Queued 0

The policy is either queued to run, or is waiting for some event before progressing.

Running 1

The policy is currently running.

Approved 2

The policy has been fulfilled for this pull request.

Rejected 3

The policy has rejected this pull request.

NotApplicable 4

The policy does not apply to this pull request.

Broken 5

The policy has encountered an unexpected error.

Remarks

Not all policies make use of every status. For example, policies which are based on reviewers voting do not have a Runnig state. They are generally Queued when no vote has been cast, and then transition to Approved or Rejected depending on the vote.

Applies to