Files
ITWorx_MCP_Hub-Public/catalog/tools/gitea-branch-protection-ensure.yaml
T

2 lines
968 B
YAML

{"apiVersion":"hub.example.com/v1alpha1","kind":"ToolManifest","metadata":{"name":"Gitea Branch Protection Ensure","slug":"gitea-branch-protection-ensure"},"spec":{"canonicalName":"gitea.branchprotection.ensure","version":"1.9.0","connectorType":"gitea","description":"Apply one unchanged governance preview with an explicitly hashed scope; ProjectBrain protection-only scope adds required status checks without rewriting its workflow.","riskClass":"R2","readOnly":false,"idempotent":true,"inputSchema":{"type":"object","additionalProperties":false,"properties":{"repositoryRef":{"type":"string"},"expectedPlanHash":{"type":"string","pattern":"^[0-9a-f]{64}$"},"applyScope":{"type":"string","enum":["all","protection_only"],"default":"all"}},"required":["repositoryRef","expectedPlanHash"]},"outputSchema":{"type":"object"},"limits":{"timeoutMs":30000,"maxOutputBytes":262144,"maxItems":1},"redactionProfile":"documents","requiredScopes":["project:{project}:write"]}}