naftiko: 1.0.0-alpha2 info: label: GitHub Actions API — OIDC description: 'GitHub Actions API — OIDC. 4 operations. Lead operation: Github Actions Get the Customization Template for an Oidc Subject Claim for an Organization. Self-contained Naftiko capability covering one Github Actions business surface.' tags: - Github Actions - OIDC created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_ACTIONS_API_KEY: GITHUB_ACTIONS_API_KEY capability: consumes: - type: http namespace: github-actions-oidc baseUri: https://api.github.com description: GitHub Actions API — OIDC business capability. Self-contained, no shared references. resources: - name: orgs-org-actions-oidc-customization-sub path: /orgs/{org}/actions/oidc/customization/sub operations: - name: getcustomoidcsubclaimfororg method: GET description: Github Actions Get the Customization Template for an Oidc Subject Claim for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setcustomoidcsubclaimfororg method: PUT description: Github Actions Set the Customization Template for an Oidc Subject Claim for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-actions-oidc-customization-sub path: /repos/{owner}/{repo}/actions/oidc/customization/sub operations: - name: getcustomoidcsubclaimforrepo method: GET description: Github Actions Get the Customization Template for an Oidc Subject Claim for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setcustomoidcsubclaimforrepo method: PUT description: Github Actions Set the Customization Template for an Oidc Subject Claim for a Repository 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_ACTIONS_API_KEY}}' exposes: - type: rest namespace: github-actions-oidc-rest port: 8080 description: REST adapter for GitHub Actions API — OIDC. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/actions/oidc/customization/sub name: orgs-org-actions-oidc-customization-sub description: REST surface for orgs-org-actions-oidc-customization-sub. operations: - method: GET name: getcustomoidcsubclaimfororg description: Github Actions Get the Customization Template for an Oidc Subject Claim for an Organization call: github-actions-oidc.getcustomoidcsubclaimfororg outputParameters: - type: object mapping: $. - method: PUT name: setcustomoidcsubclaimfororg description: Github Actions Set the Customization Template for an Oidc Subject Claim for an Organization call: github-actions-oidc.setcustomoidcsubclaimfororg with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/oidc/customization/sub name: repos-owner-repo-actions-oidc-customization-sub description: REST surface for repos-owner-repo-actions-oidc-customization-sub. operations: - method: GET name: getcustomoidcsubclaimforrepo description: Github Actions Get the Customization Template for an Oidc Subject Claim for a Repository call: github-actions-oidc.getcustomoidcsubclaimforrepo outputParameters: - type: object mapping: $. - method: PUT name: setcustomoidcsubclaimforrepo description: Github Actions Set the Customization Template for an Oidc Subject Claim for a Repository call: github-actions-oidc.setcustomoidcsubclaimforrepo with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: github-actions-oidc-mcp port: 9090 transport: http description: MCP adapter for GitHub Actions API — OIDC. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-actions-get-customization-template description: Github Actions Get the Customization Template for an Oidc Subject Claim for an Organization hints: readOnly: true destructive: false idempotent: true call: github-actions-oidc.getcustomoidcsubclaimfororg outputParameters: - type: object mapping: $. - name: github-actions-set-customization-template description: Github Actions Set the Customization Template for an Oidc Subject Claim for an Organization hints: readOnly: false destructive: false idempotent: true call: github-actions-oidc.setcustomoidcsubclaimfororg with: body: tools.body outputParameters: - type: object mapping: $. - name: github-actions-get-customization-template-2 description: Github Actions Get the Customization Template for an Oidc Subject Claim for a Repository hints: readOnly: true destructive: false idempotent: true call: github-actions-oidc.getcustomoidcsubclaimforrepo outputParameters: - type: object mapping: $. - name: github-actions-set-customization-template-2 description: Github Actions Set the Customization Template for an Oidc Subject Claim for a Repository hints: readOnly: false destructive: false idempotent: true call: github-actions-oidc.setcustomoidcsubclaimforrepo with: body: tools.body outputParameters: - type: object mapping: $.