naftiko: 1.0.0-alpha2 info: label: GitHub Application API — Runs description: 'GitHub Application API — Runs. 1 operations. Lead operation: GitHub Get the Review History Forworkflow Run. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Runs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: app-runs baseUri: '' description: GitHub Application API — Runs business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-actions-runs-run_id-approvals path: /repos/{owner}/{repo}/actions/runs/{run_id}/approvals operations: - name: getthereviewhistoryforworkflowrun method: GET description: GitHub Get the Review History Forworkflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: app-runs-rest port: 8080 description: REST adapter for GitHub Application API — Runs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals name: repos-owner-repo-actions-runs-run-id-approvals description: REST surface for repos-owner-repo-actions-runs-run_id-approvals. operations: - method: GET name: getthereviewhistoryforworkflowrun description: GitHub Get the Review History Forworkflow Run call: app-runs.getthereviewhistoryforworkflowrun outputParameters: - type: object mapping: $. - type: mcp namespace: app-runs-mcp port: 9090 transport: http description: MCP adapter for GitHub Application API — Runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-review-history-forworkflow description: GitHub Get the Review History Forworkflow Run hints: readOnly: true destructive: false idempotent: true call: app-runs.getthereviewhistoryforworkflowrun outputParameters: - type: object mapping: $.