From 1d5543e5322291b3f7cd2130869cfa38454e0a64 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 14 Nov 2017 08:30:46 -0500 Subject: [PATCH] Add github config --- ofborg/src/config.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ofborg/src/config.rs b/ofborg/src/config.rs index 0d776c4..b3e1943 100644 --- a/ofborg/src/config.rs +++ b/ofborg/src/config.rs @@ -11,6 +11,7 @@ pub struct Config { pub checkout: CheckoutConfig, pub nix: NixConfig, pub rabbitmq: RabbitMQConfig, + pub github: Option, } #[derive(Serialize, Deserialize, Debug)] @@ -27,6 +28,12 @@ pub struct NixConfig { pub remote: String, } + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct GithubConfig { + pub token: String, +} + #[derive(Serialize, Deserialize, Debug)] pub struct RunnerConfig { pub identity: String,