diff --git a/ofborg/src/message/evaluationjob.rs b/ofborg/src/message/evaluationjob.rs index b16a52d..0042acd 100644 --- a/ofborg/src/message/evaluationjob.rs +++ b/ofborg/src/message/evaluationjob.rs @@ -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 {