GitHub · Capability

GitHub Repos API — Disables

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

Run with Naftiko GithubDisables

What You Can Do

DELETE
Disableselectedrepositoryforgithubactionsinanorganization — Disable Selected Repository For Github Actions In An Organization
/v1/orgs/{org}/actions/permissions/repositories/{repository-id}
PUT
Disableworkflow — Disable Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/disable
DELETE
Disablegitlfsforrepository — Disable Git Lfs For Repository
/v1/repos/{owner}/{repo}/lfs
DELETE
Disablevulnerabilityalerts — Disable Vulnerability Alerts
/v1/repos/{owner}/{repo}/vulnerability-alerts

MCP Tools

disable-selected-repository-github-actions

Disable Selected Repository For Github Actions In An Organization

idempotent
disable-workflow

Disable Workflow

idempotent
disable-git-lfs-repository

Disable Git Lfs For Repository

idempotent
disable-vulnerability-alerts

Disable Vulnerability Alerts

idempotent

Capability Spec

temp-disables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Disables
  description: 'GitHub Repos API — Disables. 4 operations. Lead operation: Disable Selected Repository For Github Actions
    In An Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Disables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-disables
    baseUri: ''
    description: GitHub Repos API — Disables 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: disableselectedrepositoryforgithubactionsinanorganization
        method: DELETE
        description: Disable 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-disable
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable
      operations:
      - name: disableworkflow
        method: PUT
        description: Disable 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: disablegitlfsforrepository
        method: DELETE
        description: Disable 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: disablevulnerabilityalerts
        method: DELETE
        description: Disable 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-disables-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Disables. 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: DELETE
        name: disableselectedrepositoryforgithubactionsinanorganization
        description: Disable Selected Repository For Github Actions In An Organization
        call: temp-disables.disableselectedrepositoryforgithubactionsinanorganization
        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}/disable
      name: repos-owner-repo-actions-workflows-workflow-id-disable
      description: REST surface for repos-owner-repo-actions-workflows-workflow_id-disable.
      operations:
      - method: PUT
        name: disableworkflow
        description: Disable Workflow
        call: temp-disables.disableworkflow
        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: DELETE
        name: disablegitlfsforrepository
        description: Disable Git Lfs For Repository
        call: temp-disables.disablegitlfsforrepository
        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: DELETE
        name: disablevulnerabilityalerts
        description: Disable Vulnerability Alerts
        call: temp-disables.disablevulnerabilityalerts
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-disables-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Disables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: disable-selected-repository-github-actions
      description: Disable Selected Repository For Github Actions In An Organization
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-disables.disableselectedrepositoryforgithubactionsinanorganization
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: disable-workflow
      description: Disable Workflow
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-disables.disableworkflow
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: disable-git-lfs-repository
      description: Disable Git Lfs For Repository
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-disables.disablegitlfsforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: disable-vulnerability-alerts
      description: Disable Vulnerability Alerts
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-disables.disablevulnerabilityalerts
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.