GitHub · Capability

GitHub Repos API — Enables

GitHub Repos API — Enables. 4 operations. Lead operation: Enable Selected Repository For Github Actions In An Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubEnables

What You Can Do

PUT
Enableselectedrepositoryforgithubactionsinanorganization — Enable Selected Repository For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories/{repository-id}
PUT
Enableworkflow — Enable Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable
PUT
Enablegitlfsforrepository — Enable Git Lfs For Repository
/v1/repos/{owner}/{repo}/lfs
PUT
Enablevulnerabilityalerts — Enable Vulnerability Alerts
/v1/repos/{owner}/{repo}/vulnerability-alerts

MCP Tools

enable-selected-repository-github-actions

Enable Selected Repository For Github Actions In An Organization

idempotent
enable-workflow

Enable Workflow

idempotent
enable-git-lfs-repository

Enable Git Lfs For Repository

idempotent
enable-vulnerability-alerts

Enable Vulnerability Alerts

idempotent

Capability Spec

temp-enables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Enables
  description: 'GitHub Repos API — Enables. 4 operations. Lead operation: Enable Selected Repository For Github Actions In
    An Organization. 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: temp-enables
    baseUri: ''
    description: GitHub Repos API — Enables business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-actions-permissions-repositories-repository_id
      path: /orgs/{org}/actions/permissions/repositories/{repository_id}
      operations:
      - name: enableselectedrepositoryforgithubactionsinanorganization
        method: PUT
        description: Enable Selected Repository For Github Actions In An Organization
        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
    - name: repos-owner-repo-actions-workflows-workflow_id-enable
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable
      operations:
      - name: enableworkflow
        method: PUT
        description: 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
    - name: repos-owner-repo-lfs
      path: /repos/{owner}/{repo}/lfs
      operations:
      - name: enablegitlfsforrepository
        method: PUT
        description: Enable Git Lfs For Repository
        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
    - name: repos-owner-repo-vulnerability-alerts
      path: /repos/{owner}/{repo}/vulnerability-alerts
      operations:
      - name: enablevulnerabilityalerts
        method: PUT
        description: Enable Vulnerability Alerts
        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: temp-enables-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Enables. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{org}/actions/permissions/repositories/{repository-id}
      name: orgs-org-actions-permissions-repositories-repository-id
      description: REST surface for orgs-org-actions-permissions-repositories-repository_id.
      operations:
      - method: PUT
        name: enableselectedrepositoryforgithubactionsinanorganization
        description: Enable Selected Repository For Github Actions In An Organization
        call: temp-enables.enableselectedrepositoryforgithubactionsinanorganization
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - 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: Enable Workflow
        call: temp-enables.enableworkflow
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/lfs
      name: repos-owner-repo-lfs
      description: REST surface for repos-owner-repo-lfs.
      operations:
      - method: PUT
        name: enablegitlfsforrepository
        description: Enable Git Lfs For Repository
        call: temp-enables.enablegitlfsforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/vulnerability-alerts
      name: repos-owner-repo-vulnerability-alerts
      description: REST surface for repos-owner-repo-vulnerability-alerts.
      operations:
      - method: PUT
        name: enablevulnerabilityalerts
        description: Enable Vulnerability Alerts
        call: temp-enables.enablevulnerabilityalerts
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-enables-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Enables. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: enable-selected-repository-github-actions
      description: Enable Selected Repository For Github Actions In An Organization
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-enables.enableselectedrepositoryforgithubactionsinanorganization
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: enable-workflow
      description: Enable Workflow
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-enables.enableworkflow
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: enable-git-lfs-repository
      description: Enable Git Lfs For Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-enables.enablegitlfsforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: enable-vulnerability-alerts
      description: Enable Vulnerability Alerts
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-enables.enablevulnerabilityalerts
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.