diff --git a/src/github/models.rs b/src/github/models.rs index ccbd6ad6..7f1d8ee8 100644 --- a/src/github/models.rs +++ b/src/github/models.rs @@ -48,6 +48,11 @@ pub struct PullRequest { pub head: Option, #[serde(default)] pub base: Option, + // Present on both the list and single-PR endpoints -- `worktree::pr_ci_status` + // reads these to spot the auto-merge approval marker (see + // `supervisor::PR_APPROVAL_LABEL`) without a second round-trip. + #[serde(default)] + pub labels: Vec