naftiko: 1.0.0-alpha2 info: label: GitHub Repos API — Enabled description: 'GitHub Repos API — Enabled. 3 operations. Lead operation: List Selected Repositories Enabled For Github Actions In An Organization. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Enabled created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: temp-enabled baseUri: '' description: GitHub Repos API — Enabled business capability. Self-contained, no shared references. resources: - name: orgs-org-actions-permissions-repositories path: /orgs/{org}/actions/permissions/repositories operations: - name: listselectedrepositoriesenabledforgithubactionsinanorganization method: GET description: List Selected Repositories Enabled 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: setselectedrepositoriesenabledforgithubactionsinanorganization method: PUT description: Set Selected Repositories Enabled 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: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-vulnerability-alerts path: /repos/{owner}/{repo}/vulnerability-alerts operations: - name: checkifvulnerabilityalertsareenabledforrepository method: GET description: Check If Vulnerability Alerts Are Enabled 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 authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: temp-enabled-rest port: 8080 description: REST adapter for GitHub Repos API — Enabled. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/actions/permissions/repositories name: orgs-org-actions-permissions-repositories description: REST surface for orgs-org-actions-permissions-repositories. operations: - method: GET name: listselectedrepositoriesenabledforgithubactionsinanorganization description: List Selected Repositories Enabled For Github Actions In An Organization call: temp-enabled.listselectedrepositoriesenabledforgithubactionsinanorganization with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: setselectedrepositoriesenabledforgithubactionsinanorganization description: Set Selected Repositories Enabled For Github Actions In An Organization call: temp-enabled.setselectedrepositoriesenabledforgithubactionsinanorganization with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body 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: GET name: checkifvulnerabilityalertsareenabledforrepository description: Check If Vulnerability Alerts Are Enabled For Repository call: temp-enabled.checkifvulnerabilityalertsareenabledforrepository with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - type: mcp namespace: temp-enabled-mcp port: 9090 transport: http description: MCP adapter for GitHub Repos API — Enabled. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-selected-repositories-enabled-github description: List Selected Repositories Enabled For Github Actions In An Organization hints: readOnly: true destructive: false idempotent: true call: temp-enabled.listselectedrepositoriesenabledforgithubactionsinanorganization with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: set-selected-repositories-enabled-github description: Set Selected Repositories Enabled For Github Actions In An Organization hints: readOnly: false destructive: false idempotent: true call: temp-enabled.setselectedrepositoriesenabledforgithubactionsinanorganization with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: check-if-vulnerability-alerts-are description: Check If Vulnerability Alerts Are Enabled For Repository hints: readOnly: true destructive: false idempotent: true call: temp-enabled.checkifvulnerabilityalertsareenabledforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.