Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ilyam8
Copy link
Member

@ilyam8 ilyam8 commented Nov 22, 2025

Summary

Fix MCP publisher login

The workflow previously failed during the validation step because mcp-publisher requires explicit authentication.

Added:

mcp-publisher login github-oidc

This allows both dry-run and publish steps to authenticate using GitHub OIDC.

Allow manual execution

Added workflow_dispatch so the workflow can be triggered manually from the GitHub UI.

Prevent accidental manual runs on non-tag refs

Added a guard step that aborts workflow_dispatch runs unless the workflow is triggered on a tag starting with v.

This ensures manual executions behave consistently with release-triggered runs.

Test Plan
Additional Information
For users: How does this change affect me?

Summary by cubic

Authenticate mcp-publisher via GitHub OIDC in the Update MCP Registry workflow to fix the failing Validate server.json step and unblock dry-run/publish. Also allow manual runs, limited to v* tags.

  • Bug Fixes

    • Add mcp-publisher login github-oidc before validation.
    • Replace GITHUB_TOKEN reliance with registry-supported auth to prevent CI failures.
  • New Features

    • Enable manual execution (workflow_dispatch) with a guard to abort if not run on a v* tag.

Written for commit 63e2521. Summary will update automatically on new commits.

@ilyam8 ilyam8 requested a review from a team as a code owner November 22, 2025 13:21
@ilyam8 ilyam8 requested review from Copilot and removed request for a team November 22, 2025 13:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub OIDC authentication to the MCP Registry publishing workflow to fix the failing "Validate server.json" step. The workflow previously relied on GITHUB_TOKEN, but mcp-publisher requires explicit authentication via github-oidc login.

Key Changes:

  • Added new authentication step using mcp-publisher login github-oidc before validation and publishing operations
  • Leverages existing id-token: write permission already configured in the workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@ilyam8 ilyam8 enabled auto-merge (squash) November 22, 2025 13:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ilyam8 ilyam8 merged commit 73d4223 into netdata:master Nov 22, 2025
116 checks passed
@ilyam8 ilyam8 deleted the fix-mcp-publishing-workflow branch November 22, 2025 15:48
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Dec 2, 2025
@stelfrag stelfrag mentioned this pull request Dec 2, 2025
Ferroin pushed a commit that referenced this pull request Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants