GitHub · Capability

GitHub Application API — Workflows

GitHub Application API — Workflows. 1 operations. Lead operation: GitHub Get the Review History Forworkflow Run. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubWorkflows

What You Can Do

GET
Getthereviewhistoryforworkflowrun — GitHub Get the Review History Forworkflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals

MCP Tools

github-get-review-history-forworkflow

GitHub Get the Review History Forworkflow Run

read-only idempotent

Capability Spec

app-workflows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Application API — Workflows
  description: 'GitHub Application API — Workflows. 1 operations. Lead operation: GitHub Get the Review History Forworkflow
    Run. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Workflows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: app-workflows
    baseUri: ''
    description: GitHub Application API — Workflows 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-workflows-rest
    port: 8080
    description: REST adapter for GitHub Application API — Workflows. 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-workflows.getthereviewhistoryforworkflowrun
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: app-workflows-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Application API — Workflows. 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-workflows.getthereviewhistoryforworkflowrun
      outputParameters:
      - type: object
        mapping: $.