GitHub · Capability

github-repo-actions-api — Enables

github-repo-actions-api — Enables. 1 operations. Lead operation: GitHub Enable Workflow. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubEnables

What You Can Do

PUT
Enableworkflow — GitHub Enable Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable

MCP Tools

github-enable-workflow

GitHub Enable Workflow

idempotent

Capability Spec

repo-actions-enables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repo-actions-api — Enables
  description: 'github-repo-actions-api — Enables. 1 operations. Lead operation: GitHub Enable Workflow. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Enables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-actions-enables
    baseUri: ''
    description: github-repo-actions-api — Enables business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-actions-workflows-workflow_id-enable
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable
      operations:
      - name: enableworkflow
        method: PUT
        description: GitHub Enable Workflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-actions-enables-rest
    port: 8080
    description: REST adapter for github-repo-actions-api — Enables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable
      name: repos-owner-repo-actions-workflows-workflow-id-enable
      description: REST surface for repos-owner-repo-actions-workflows-workflow_id-enable.
      operations:
      - method: PUT
        name: enableworkflow
        description: GitHub Enable Workflow
        call: repo-actions-enables.enableworkflow
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-actions-enables-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repo-actions-api — Enables. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: github-enable-workflow
      description: GitHub Enable Workflow
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repo-actions-enables.enableworkflow
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.