From 158881ef07791dcd98f0c8c42b3a14b9d07a56e6 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Fri, 20 Feb 2026 08:12:26 +0100 Subject: [PATCH] feat: support for enabling observatory monitoring for GitHub Actions --- cli/src/services/server/observatory.services.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cli/src/services/server/observatory.services.ts b/cli/src/services/server/observatory.services.ts index e89045e..2f78a00 100644 --- a/cli/src/services/server/observatory.services.ts +++ b/cli/src/services/server/observatory.services.ts @@ -18,7 +18,12 @@ export const toggleOpenIdMonitoring = async ({ throw new Error('Cannot toggle OpenId monitoring for an unknown provider'); } - const provider: OpenIdProvider = providerParam === 'github' ? {GitHubAuth: null} : {Google: null}; + // "github" for backwards compatibility with the Console + const provider: OpenIdProvider = ['github', 'gh_auth'].includes(providerParam) + ? {GitHubAuth: null} + : providerParam === 'gh_actions' + ? {GitHubActions: null} + : {Google: null}; switch (action) { case 'start': {