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

Skip to content

Correctly split MCP registry update to it’s own workflow.#21089

Merged
Ferroin merged 2 commits intonetdata:masterfrom
Ferroin:fix-gha-trigger
Oct 3, 2025
Merged

Correctly split MCP registry update to it’s own workflow.#21089
Ferroin merged 2 commits intonetdata:masterfrom
Ferroin:fix-gha-trigger

Conversation

@Ferroin
Copy link
Member

@Ferroin Ferroin commented Oct 2, 2025

Summary

This needs to trigger when your releases are actually published, not when we start the release process, so it needs to have it’s own workflow with a release trigger instead of being part of the release workflow (as we always manually publish the release on GitHub).

This actually simplifies a couple of parts of the job as well, since the release event defaults to using the commit of the release that triggered the workflow when checking out the repository.

Test Plan

n/a

This needs to trigger when your releases are actually published, not
when we start the release process, so it needs to have it’s own workflow
with a release trigger instead of being part of the release workflow (as
we always manually publish the release on GitHub).

This actually simplifies a couple of parts of the job as well, since the
`release` event defaults to using the commit of the release that
triggered the workflow when checking out the repository.
@github-actions github-actions bot added area/ci area/packaging Packaging and operating systems support labels Oct 2, 2025
@github-actions github-actions bot removed the area/packaging Packaging and operating systems support label Oct 2, 2025
@Ferroin
Copy link
Member Author

Ferroin commented Oct 2, 2025

Rebased to remove a commit that was erroneously made in the wrong branch.

@Ferroin Ferroin marked this pull request as ready for review October 2, 2025 17:02
@Ferroin Ferroin requested a review from a team as a code owner October 2, 2025 17:02
@ilyam8 ilyam8 requested a review from Copilot October 2, 2025 17:23
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 splits the MCP registry update functionality into its own dedicated workflow that triggers on actual releases rather than during the release process. This ensures the registry is updated only when releases are published on GitHub, not when the release process starts.

Key changes:

  • Created a new standalone workflow file for MCP registry updates
  • Changed trigger from being part of release workflow to using release event
  • Simplified version handling by reading from packaging/version file instead of passing between jobs

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/update-mcp-registry.yml New dedicated workflow for MCP registry updates triggered on release events
.github/workflows/release.yml Removed the MCP registry publishing job from the existing release workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ilyam8 ilyam8 requested a review from Copilot October 2, 2025 21:23
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 2 out of 2 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Ferroin Ferroin merged commit 81acfc8 into netdata:master Oct 3, 2025
106 checks passed
@Ferroin Ferroin deleted the fix-gha-trigger branch October 3, 2025 10:56
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Oct 27, 2025
)

* Correctly split MCP registry update to it’s own workflow.

This needs to trigger when your releases are actually published, not
when we start the release process, so it needs to have it’s own workflow
with a release trigger instead of being part of the release workflow (as
we always manually publish the release on GitHub).

This actually simplifies a couple of parts of the job as well, since the
`release` event defaults to using the commit of the release that
triggered the workflow when checking out the repository.

* Address review comments.

(cherry picked from commit 81acfc8)
@stelfrag stelfrag mentioned this pull request Oct 27, 2025
Ferroin added a commit that referenced this pull request Oct 28, 2025
* Correctly split MCP registry update to it’s own workflow.

This needs to trigger when your releases are actually published, not
when we start the release process, so it needs to have it’s own workflow
with a release trigger instead of being part of the release workflow (as
we always manually publish the release on GitHub).

This actually simplifies a couple of parts of the job as well, since the
`release` event defaults to using the commit of the release that
triggered the workflow when checking out the repository.

* Address review comments.

(cherry picked from commit 81acfc8)
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