From 6c52db97cafa892f72d0dacbb41daffc94a788ba Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 16 Oct 2025 16:24:36 +0000 Subject: [PATCH] nit compile --- backend/windmill-worker/src/ansible_executor.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/windmill-worker/src/ansible_executor.rs b/backend/windmill-worker/src/ansible_executor.rs index bcd058836e..395341d698 100644 --- a/backend/windmill-worker/src/ansible_executor.rs +++ b/backend/windmill-worker/src/ansible_executor.rs @@ -951,9 +951,11 @@ pub async fn handle_ansible_job( let mut secret_url = git_repo_resource.get("url").and_then(|s| s.as_str()).map(|s| s.to_string()) .ok_or(anyhow!("Failed to get url from git repo resource, please check that the resource has the correct type (git_repository)"))?; + #[cfg(feature = "enterprise")] let is_github_app = git_repo_resource.get("is_github_app").and_then(|s| s.as_bool()) .ok_or(anyhow!("Failed to get `is_github_app` field from git repo resource, please check that the resource has the correct type (git_repository)"))?; + #[cfg(feature = "enterprise")] if is_github_app { if let Connection::Sql(db) = conn { let token = get_github_app_token_internal(db, &client.token).await?;