Evaluates whether a pull request has met all the conditions specified in its associated approval rules¶
Description¶
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
Usage¶
Arguments¶
-
pullRequestId[required] The system-generated ID of the pull request you want to evaluate.
-
revisionId[required] The system-generated ID for the pull request revision. To retrieve the most recent revision ID for a pull request, use
get_pull_request.
Value¶
A list with the following syntax:
list(
evaluation = list(
approved = TRUE|FALSE,
overridden = TRUE|FALSE,
approvalRulesSatisfied = list(
"string"
),
approvalRulesNotSatisfied = list(
"string"
)
)
)