You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(attestation): expand PR reviewers with requested status and review state
Add Requested and ReviewStatus fields to prinfo.Reviewer to track which reviewers were explicitly requested vs who submitted reviews. For GitHub PRs, merge requested reviewer lists from both event payload and API endpoint, then overlay review states from /reviews API. For GitLab, mark all API-retrieved reviewers as requested. Bump PR info schema to v1.2.
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Loginstring`json:"login" jsonschema:"required,description=Username of the reviewer"`
28
-
Typestring`json:"type" jsonschema:"required,enum=User,enum=Bot,enum=unknown,description=Account type of the reviewer"`
27
+
Loginstring`json:"login" jsonschema:"required,description=Username of the reviewer"`
28
+
Typestring`json:"type" jsonschema:"required,enum=User,enum=Bot,enum=unknown,description=Account type of the reviewer"`
29
+
Requestedbool`json:"requested" jsonschema:"description=Whether the reviewer was explicitly requested to review"`
30
+
ReviewStatusstring`json:"review_status,omitempty" jsonschema:"enum=APPROVED,enum=CHANGES_REQUESTED,enum=COMMENTED,enum=DISMISSED,enum=PENDING,description=The reviewer's current review state if they have submitted a review"`
29
31
}
30
32
31
33
// Data represents the data payload of the PR/MR info evidence
0 commit comments