From 29eb3683d92439bfde3b57230adb06902f88c7e7 Mon Sep 17 00:00:00 2001 From: Frank Fiegel <108313943+punkpeye@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:53:42 -0600 Subject: [PATCH] Update check-glama.yml --- .github/workflows/check-glama.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/check-glama.yml b/.github/workflows/check-glama.yml index 1d086b76..39ea53ad 100644 --- a/.github/workflows/check-glama.yml +++ b/.github/workflows/check-glama.yml @@ -237,6 +237,23 @@ jobs: if (!hasGlama) { const marker = ''; if (!comments.some(c => c.body.includes(marker))) { + let glamaServerPath = ''; + for (const line of addedLines) { + const ghMatch = line.match(/\]\(https:\/\/github\.com\/([^/]+)\/([^/)]+)\)/); + if (ghMatch) { + glamaServerPath = `${ghMatch[1]}/${ghMatch[2]}`; + break; + } + } + + const badgeSection = glamaServerPath + ? `The server's badge needs to show [A A A score](https://glama.ai/mcp/servers/${glamaServerPath}/score): + + + + ` + : `The server's badge needs to show an A A A score.`; + await github.rest.issues.createComment({ owner, repo, @@ -251,6 +268,8 @@ jobs: 2. **Update your PR** by adding a \`[glama](https://glama.ai/mcp/servers/...)\` link immediately after the GitHub repository link, pointing to your server's Glama listing page. + ${badgeSection} + If you need any assistance, feel free to ask questions here or on [Discord](https://glama.ai/discord). P.S. If your server already has a hosted endpoint, you can also list it under https://glama.ai/mcp/connectors.`