Allow for mcp registry action to run manually

This commit is contained in:
Yiorgis Gozadinos 2025-10-16 13:02:12 +03:00
parent c69800fe2b
commit d6cefb1ebc
No known key found for this signature in database

View file

@ -1,5 +1,6 @@
name: Publish to MCP Registry
on:
workflow_dispatch:
workflow_run:
workflows: ["Build & publish to pypi"]
types:
@ -8,7 +9,7 @@ on:
jobs:
publish-mcp:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
id-token: write