naftiko: 1.0.0-alpha2 info: label: github-repo-actions-api — Workflows description: 'github-repo-actions-api — Workflows. 28 operations. Lead operation: GitHub Download Job Logs for Workflow Run. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Workflows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: repo-actions-workflows baseUri: '' description: github-repo-actions-api — Workflows business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-actions-jobs-job_id-logs path: /repos/{owner}/{repo}/actions/jobs/{job_id}/logs operations: - name: downloadjoblogsforworkflowrun method: GET description: GitHub Download Job Logs for Workflow Run 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-jobs-job_id-rerun path: /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun operations: - name: rerunjobfromworkflowrun method: POST description: GitHub Re-run Job from Workflow Run 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: false - name: repos-owner-repo-actions-permissions-access path: /repos/{owner}/{repo}/actions/permissions/access operations: - name: getthelevelofaccessforworkflowsoutsideoftherepository method: GET description: GitHub Get the Level of Access for Workflows Outside of the 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: setthelevelofaccessforworkflowsoutsideoftherepository method: PUT description: GitHub Set the Level of Access for Workflows Outside of the 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: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-actions-permissions-workflow path: /repos/{owner}/{repo}/actions/permissions/workflow operations: - name: getdefaultworkflowpermissionsforrepository method: GET description: GitHub Get Default Workflow Permissions 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: setdefaultworkflowpermissionsforrepository method: PUT description: GitHub Set Default Workflow Permissions 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: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-actions-runs path: /repos/{owner}/{repo}/actions/runs operations: - name: listworkflowrunsforrepository method: GET description: GitHub List Workflow Runs 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-actions-runs-run_id path: /repos/{owner}/{repo}/actions/runs/{run_id} operations: - name: getworkflowrun method: GET description: GitHub Get Workflow Run 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: deleteworkflowrun method: DELETE description: GitHub Delete Workflow Run 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-runs-run_id-approvals path: /repos/{owner}/{repo}/actions/runs/{run_id}/approvals operations: - name: getthereviewhistoryforworkflowrun method: GET description: GitHub Get the Review History for Workflow Run 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-runs-run_id-artifacts path: /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts operations: - name: listworkflowrunartifacts method: GET description: GitHub List Workflow Run Artifacts 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-runs-run_id-attempts-attempt_number path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} operations: - name: getworkflowrunattempt method: GET description: GitHub Get Workflow Run Attempt 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-runs-run_id-attempts-attempt_number-jobs path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs operations: - name: listjobsforworkflowrunattempt method: GET description: GitHub List Jobs for Workflow Run Attempt 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-runs-run_id-attempts-attempt_number-logs path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs operations: - name: downloadworkflowrunattemptlogs method: GET description: GitHub Download Workflow Run Attempt Logs 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-runs-run_id-cancel path: /repos/{owner}/{repo}/actions/runs/{run_id}/cancel operations: - name: cancelworkflowrun method: POST description: GitHub Cancel Workflow Run 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-runs-run_id-jobs path: /repos/{owner}/{repo}/actions/runs/{run_id}/jobs operations: - name: listjobsforworkflowrun method: GET description: GitHub List Jobs for Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for workflow ru - 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-runs-run_id-logs path: /repos/{owner}/{repo}/actions/runs/{run_id}/logs operations: - name: downloadworkflowrunlogs method: GET description: GitHub Download Workflow Run Logs 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: deleteworkflowrunlogs method: DELETE description: GitHub Delete Workflow Run Logs 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-runs-run_id-pending_deployments path: /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments operations: - name: getpendingdeploymentsforworkflowrun method: GET description: GitHub Get Pending Deployments for Workflow Run 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: reviewpendingdeploymentsforworkflowrun method: POST description: GitHub Review Pending Deployments for Workflow Run 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-actions-runs-run_id-rerun path: /repos/{owner}/{repo}/actions/runs/{run_id}/rerun operations: - name: rerunworkflow method: POST description: GitHub Re-run 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: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-actions-runs-run_id-rerun-failed-jobs path: /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs operations: - name: rerunfailedjobsfromworkflowrun method: POST description: GitHub Re-run Failed Jobs from Workflow Run 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: false - name: repos-owner-repo-actions-workflows path: /repos/{owner}/{repo}/actions/workflows operations: - name: listrepositoryworkflows method: GET description: GitHub List Repository Workflows 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 path: /repos/{owner}/{repo}/actions/workflows/{workflow_id} operations: - name: getworkflow method: GET description: GitHub Get 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-actions-workflows-workflow_id-disable path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable operations: - name: disableworkflow method: PUT description: GitHub 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-actions-workflows-workflow_id-dispatches path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches operations: - name: createworkflowdispatchevent method: POST description: GitHub Create Workflow Dispatch Event 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-actions-workflows-workflow_id-enable path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable operations: - name: enableworkflow method: PUT description: GitHub 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-actions-workflows-workflow_id-runs path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs operations: - name: listworkflowrunsforworkflow method: GET description: GitHub List Workflow Runs for 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 authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: repo-actions-workflows-rest port: 8080 description: REST adapter for github-repo-actions-api — Workflows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs name: repos-owner-repo-actions-jobs-job-id-logs description: REST surface for repos-owner-repo-actions-jobs-job_id-logs. operations: - method: GET name: downloadjoblogsforworkflowrun description: GitHub Download Job Logs for Workflow Run call: repo-actions-workflows.downloadjoblogsforworkflowrun 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/jobs/{job-id}/rerun name: repos-owner-repo-actions-jobs-job-id-rerun description: REST surface for repos-owner-repo-actions-jobs-job_id-rerun. operations: - method: POST name: rerunjobfromworkflowrun description: GitHub Re-run Job from Workflow Run call: repo-actions-workflows.rerunjobfromworkflowrun 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}/actions/permissions/access name: repos-owner-repo-actions-permissions-access description: REST surface for repos-owner-repo-actions-permissions-access. operations: - method: GET name: getthelevelofaccessforworkflowsoutsideoftherepository description: GitHub Get the Level of Access for Workflows Outside of the Repository call: repo-actions-workflows.getthelevelofaccessforworkflowsoutsideoftherepository with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: setthelevelofaccessforworkflowsoutsideoftherepository description: GitHub Set the Level of Access for Workflows Outside of the Repository call: repo-actions-workflows.setthelevelofaccessforworkflowsoutsideoftherepository 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}/actions/permissions/workflow name: repos-owner-repo-actions-permissions-workflow description: REST surface for repos-owner-repo-actions-permissions-workflow. operations: - method: GET name: getdefaultworkflowpermissionsforrepository description: GitHub Get Default Workflow Permissions for Repository call: repo-actions-workflows.getdefaultworkflowpermissionsforrepository with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: setdefaultworkflowpermissionsforrepository description: GitHub Set Default Workflow Permissions for Repository call: repo-actions-workflows.setdefaultworkflowpermissionsforrepository 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}/actions/runs name: repos-owner-repo-actions-runs description: REST surface for repos-owner-repo-actions-runs. operations: - method: GET name: listworkflowrunsforrepository description: GitHub List Workflow Runs for Repository call: repo-actions-workflows.listworkflowrunsforrepository 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/runs/{run-id} name: repos-owner-repo-actions-runs-run-id description: REST surface for repos-owner-repo-actions-runs-run_id. operations: - method: GET name: getworkflowrun description: GitHub Get Workflow Run call: repo-actions-workflows.getworkflowrun with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: DELETE name: deleteworkflowrun description: GitHub Delete Workflow Run call: repo-actions-workflows.deleteworkflowrun 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/runs/{run-id}/approvals name: repos-owner-repo-actions-runs-run-id-approvals description: REST surface for repos-owner-repo-actions-runs-run_id-approvals. operations: - method: GET name: getthereviewhistoryforworkflowrun description: GitHub Get the Review History for Workflow Run call: repo-actions-workflows.getthereviewhistoryforworkflowrun 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/runs/{run-id}/artifacts name: repos-owner-repo-actions-runs-run-id-artifacts description: REST surface for repos-owner-repo-actions-runs-run_id-artifacts. operations: - method: GET name: listworkflowrunartifacts description: GitHub List Workflow Run Artifacts call: repo-actions-workflows.listworkflowrunartifacts 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/runs/{run-id}/attempts/{attempt-number} name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number. operations: - method: GET name: getworkflowrunattempt description: GitHub Get Workflow Run Attempt call: repo-actions-workflows.getworkflowrunattempt 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/runs/{run-id}/attempts/{attempt-number}/jobs name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number-jobs description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number-jobs. operations: - method: GET name: listjobsforworkflowrunattempt description: GitHub List Jobs for Workflow Run Attempt call: repo-actions-workflows.listjobsforworkflowrunattempt 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/runs/{run-id}/attempts/{attempt-number}/logs name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number-logs description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number-logs. operations: - method: GET name: downloadworkflowrunattemptlogs description: GitHub Download Workflow Run Attempt Logs call: repo-actions-workflows.downloadworkflowrunattemptlogs 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/runs/{run-id}/cancel name: repos-owner-repo-actions-runs-run-id-cancel description: REST surface for repos-owner-repo-actions-runs-run_id-cancel. operations: - method: POST name: cancelworkflowrun description: GitHub Cancel Workflow Run call: repo-actions-workflows.cancelworkflowrun 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/runs/{run-id}/jobs name: repos-owner-repo-actions-runs-run-id-jobs description: REST surface for repos-owner-repo-actions-runs-run_id-jobs. operations: - method: GET name: listjobsforworkflowrun description: GitHub List Jobs for Workflow Run call: repo-actions-workflows.listjobsforworkflowrun with: filter: rest.filter 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/runs/{run-id}/logs name: repos-owner-repo-actions-runs-run-id-logs description: REST surface for repos-owner-repo-actions-runs-run_id-logs. operations: - method: GET name: downloadworkflowrunlogs description: GitHub Download Workflow Run Logs call: repo-actions-workflows.downloadworkflowrunlogs with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: DELETE name: deleteworkflowrunlogs description: GitHub Delete Workflow Run Logs call: repo-actions-workflows.deleteworkflowrunlogs 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/runs/{run-id}/pending-deployments name: repos-owner-repo-actions-runs-run-id-pending-deployments description: REST surface for repos-owner-repo-actions-runs-run_id-pending_deployments. operations: - method: GET name: getpendingdeploymentsforworkflowrun description: GitHub Get Pending Deployments for Workflow Run call: repo-actions-workflows.getpendingdeploymentsforworkflowrun with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: reviewpendingdeploymentsforworkflowrun description: GitHub Review Pending Deployments for Workflow Run call: repo-actions-workflows.reviewpendingdeploymentsforworkflowrun 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}/actions/runs/{run-id}/rerun name: repos-owner-repo-actions-runs-run-id-rerun description: REST surface for repos-owner-repo-actions-runs-run_id-rerun. operations: - method: POST name: rerunworkflow description: GitHub Re-run Workflow call: repo-actions-workflows.rerunworkflow 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}/actions/runs/{run-id}/rerun-failed-jobs name: repos-owner-repo-actions-runs-run-id-rerun-failed-jobs description: REST surface for repos-owner-repo-actions-runs-run_id-rerun-failed-jobs. operations: - method: POST name: rerunfailedjobsfromworkflowrun description: GitHub Re-run Failed Jobs from Workflow Run call: repo-actions-workflows.rerunfailedjobsfromworkflowrun 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}/actions/workflows name: repos-owner-repo-actions-workflows description: REST surface for repos-owner-repo-actions-workflows. operations: - method: GET name: listrepositoryworkflows description: GitHub List Repository Workflows call: repo-actions-workflows.listrepositoryworkflows 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} name: repos-owner-repo-actions-workflows-workflow-id description: REST surface for repos-owner-repo-actions-workflows-workflow_id. operations: - method: GET name: getworkflow description: GitHub Get Workflow call: repo-actions-workflows.getworkflow 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: GitHub Disable Workflow call: repo-actions-workflows.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}/actions/workflows/{workflow-id}/dispatches name: repos-owner-repo-actions-workflows-workflow-id-dispatches description: REST surface for repos-owner-repo-actions-workflows-workflow_id-dispatches. operations: - method: POST name: createworkflowdispatchevent description: GitHub Create Workflow Dispatch Event call: repo-actions-workflows.createworkflowdispatchevent 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}/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: GitHub Enable Workflow call: repo-actions-workflows.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}/actions/workflows/{workflow-id}/runs name: repos-owner-repo-actions-workflows-workflow-id-runs description: REST surface for repos-owner-repo-actions-workflows-workflow_id-runs. operations: - method: GET name: listworkflowrunsforworkflow description: GitHub List Workflow Runs for Workflow call: repo-actions-workflows.listworkflowrunsforworkflow with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - type: mcp namespace: repo-actions-workflows-mcp port: 9090 transport: http description: MCP adapter for github-repo-actions-api — Workflows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-download-job-logs-workflow description: GitHub Download Job Logs for Workflow Run hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.downloadjoblogsforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-re-run-job-workflow description: GitHub Re-run Job from Workflow Run hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.rerunjobfromworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-get-level-access-workflows description: GitHub Get the Level of Access for Workflows Outside of the Repository hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getthelevelofaccessforworkflowsoutsideoftherepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-set-level-access-workflows description: GitHub Set the Level of Access for Workflows Outside of the Repository hints: readOnly: false destructive: false idempotent: true call: repo-actions-workflows.setthelevelofaccessforworkflowsoutsideoftherepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-get-default-workflow-permissions description: GitHub Get Default Workflow Permissions for Repository hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getdefaultworkflowpermissionsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-set-default-workflow-permissions description: GitHub Set Default Workflow Permissions for Repository hints: readOnly: false destructive: false idempotent: true call: repo-actions-workflows.setdefaultworkflowpermissionsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-list-workflow-runs-repository description: GitHub List Workflow Runs for Repository hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listworkflowrunsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-workflow-run description: GitHub Get Workflow Run hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-delete-workflow-run description: GitHub Delete Workflow Run hints: readOnly: false destructive: true idempotent: true call: repo-actions-workflows.deleteworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-review-history-workflow description: GitHub Get the Review History for Workflow Run hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getthereviewhistoryforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-workflow-run-artifacts description: GitHub List Workflow Run Artifacts hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listworkflowrunartifacts with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-workflow-run-attempt description: GitHub Get Workflow Run Attempt hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getworkflowrunattempt with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-jobs-workflow-run description: GitHub List Jobs for Workflow Run Attempt hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listjobsforworkflowrunattempt with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-download-workflow-run-attempt description: GitHub Download Workflow Run Attempt Logs hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.downloadworkflowrunattemptlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-cancel-workflow-run description: GitHub Cancel Workflow Run hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.cancelworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-jobs-workflow-run-2 description: GitHub List Jobs for Workflow Run hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listjobsforworkflowrun with: filter: tools.filter Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-download-workflow-run-logs description: GitHub Download Workflow Run Logs hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.downloadworkflowrunlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-delete-workflow-run-logs description: GitHub Delete Workflow Run Logs hints: readOnly: false destructive: true idempotent: true call: repo-actions-workflows.deleteworkflowrunlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-pending-deployments-workflow description: GitHub Get Pending Deployments for Workflow Run hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getpendingdeploymentsforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-review-pending-deployments-workflow description: GitHub Review Pending Deployments for Workflow Run hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.reviewpendingdeploymentsforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-re-run-workflow description: GitHub Re-run Workflow hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.rerunworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-re-run-failed-jobs description: GitHub Re-run Failed Jobs from Workflow Run hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.rerunfailedjobsfromworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-list-repository-workflows description: GitHub List Repository Workflows hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listrepositoryworkflows with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-workflow description: GitHub Get Workflow hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.getworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-disable-workflow description: GitHub Disable Workflow hints: readOnly: false destructive: false idempotent: true call: repo-actions-workflows.disableworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-create-workflow-dispatch-event description: GitHub Create Workflow Dispatch Event hints: readOnly: false destructive: false idempotent: false call: repo-actions-workflows.createworkflowdispatchevent with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-enable-workflow description: GitHub Enable Workflow hints: readOnly: false destructive: false idempotent: true call: repo-actions-workflows.enableworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-workflow-runs-workflow description: GitHub List Workflow Runs for Workflow hints: readOnly: true destructive: false idempotent: true call: repo-actions-workflows.listworkflowrunsforworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.