Skip to content

Commit

Permalink
Merge pull request #701 from Mark-Simulacrum/auto-rollup-pr
Browse files Browse the repository at this point in the history
Support generating PRs for rollup-merged perf-testing
  • Loading branch information
Mark-Simulacrum authored Jul 21, 2020
2 parents 3b4f796 + aa12142 commit 366a107
Show file tree
Hide file tree
Showing 2 changed files with 385 additions and 17 deletions.
13 changes: 13 additions & 0 deletions site/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,22 @@ pub mod github {
pub sha: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CommitTree {
pub sha: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct InnerCommit {
#[serde(default)]
pub message: String,
pub tree: CommitTree,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Commit {
pub sha: String,
pub commit: InnerCommit,
pub parents: Vec<CommitParent>,
}

Expand Down
Loading

0 comments on commit 366a107

Please sign in to comment.