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