naftiko: 1.0.0-alpha2 info: label: GitHub Org API — Enabled description: 'GitHub Org API — Enabled. 2 operations. Lead operation: GitHub 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: organizations-enabled baseUri: '' description: GitHub Org 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: GitHub List Selected Repositories Enabled for Github Actions in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setselectedrepositoriesenabledforgithubactionsinanorganization method: PUT description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: organizations-enabled-rest port: 8080 description: REST adapter for GitHub Org 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: GitHub List Selected Repositories Enabled for Github Actions in an Organization call: organizations-enabled.listselectedrepositoriesenabledforgithubactionsinanorganization outputParameters: - type: object mapping: $. - method: PUT name: setselectedrepositoriesenabledforgithubactionsinanorganization description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization call: organizations-enabled.setselectedrepositoriesenabledforgithubactionsinanorganization with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: organizations-enabled-mcp port: 9090 transport: http description: MCP adapter for GitHub Org API — Enabled. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-selected-repositories-enabled description: GitHub List Selected Repositories Enabled for Github Actions in an Organization hints: readOnly: true destructive: false idempotent: true call: organizations-enabled.listselectedrepositoriesenabledforgithubactionsinanorganization outputParameters: - type: object mapping: $. - name: github-set-selected-repositories-enabled description: GitHub Set Selected Repositories Enabled for Github Actions in an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-enabled.setselectedrepositoriesenabledforgithubactionsinanorganization with: body: tools.body outputParameters: - type: object mapping: $.