Teach EvaluationJob about is_nixpkgs

This commit is contained in:
Graham Christensen 2019-03-22 13:25:22 -04:00
parent 379761c036
commit 4665ea2bbc
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -12,6 +12,12 @@ pub struct EvaluationJob {
pub pr: Pr,
}
impl EvaluationJob {
pub fn is_nixpkgs(&self) -> bool {
self.repo.name == "nixpkgs"
}
}
pub struct Actions {}
impl Actions {