naftiko: 1.0.0-alpha2 info: label: GitHub Repos API — Workflows description: 'GitHub Repos API — Workflows. 28 operations. Lead operation: 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: temp-workflows baseUri: '' description: GitHub Repos 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: temp-workflows-rest port: 8080 description: REST adapter for GitHub Repos 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: Download Job Logs For Workflow Run call: temp-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: Re-run Job From Workflow Run call: temp-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: Get The Level Of Access For Workflows Outside Of The Repository call: temp-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: Set The Level Of Access For Workflows Outside Of The Repository call: temp-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: Get Default Workflow Permissions For Repository call: temp-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: Set Default Workflow Permissions For Repository call: temp-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: List Workflow Runs For Repository call: temp-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: Get Workflow Run call: temp-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: Delete Workflow Run call: temp-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: Get The Review History For Workflow Run call: temp-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: List Workflow Run Artifacts call: temp-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: Get Workflow Run Attempt call: temp-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: List Jobs For Workflow Run Attempt call: temp-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: Download Workflow Run Attempt Logs call: temp-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: Cancel Workflow Run call: temp-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: List Jobs For Workflow Run call: temp-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: Download Workflow Run Logs call: temp-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: Delete Workflow Run Logs call: temp-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: Get Pending Deployments For Workflow Run call: temp-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: Review Pending Deployments For Workflow Run call: temp-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: Re-run Workflow call: temp-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: Re-run Failed Jobs From Workflow Run call: temp-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: List Repository Workflows call: temp-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: Get Workflow call: temp-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: Disable Workflow call: temp-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: Create Workflow Dispatch Event call: temp-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: Enable Workflow call: temp-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: List Workflow Runs For Workflow call: temp-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: temp-workflows-mcp port: 9090 transport: http description: MCP adapter for GitHub Repos API — Workflows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: download-job-logs-workflow-run description: Download Job Logs For Workflow Run hints: readOnly: true destructive: false idempotent: true call: temp-workflows.downloadjoblogsforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: re-run-job-workflow-run description: Re-run Job From Workflow Run hints: readOnly: false destructive: false idempotent: false call: temp-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: get-level-access-workflows-outside description: Get The Level Of Access For Workflows Outside Of The Repository hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getthelevelofaccessforworkflowsoutsideoftherepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: set-level-access-workflows-outside description: Set The Level Of Access For Workflows Outside Of The Repository hints: readOnly: false destructive: false idempotent: true call: temp-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: get-default-workflow-permissions-repository description: Get Default Workflow Permissions For Repository hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getdefaultworkflowpermissionsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: set-default-workflow-permissions-repository description: Set Default Workflow Permissions For Repository hints: readOnly: false destructive: false idempotent: true call: temp-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: list-workflow-runs-repository description: List Workflow Runs For Repository hints: readOnly: true destructive: false idempotent: true call: temp-workflows.listworkflowrunsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-workflow-run description: Get Workflow Run hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: delete-workflow-run description: Delete Workflow Run hints: readOnly: false destructive: true idempotent: true call: temp-workflows.deleteworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-review-history-workflow-run description: Get The Review History For Workflow Run hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getthereviewhistoryforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-workflow-run-artifacts description: List Workflow Run Artifacts hints: readOnly: true destructive: false idempotent: true call: temp-workflows.listworkflowrunartifacts with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-workflow-run-attempt description: Get Workflow Run Attempt hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getworkflowrunattempt with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-jobs-workflow-run-attempt description: List Jobs For Workflow Run Attempt hints: readOnly: true destructive: false idempotent: true call: temp-workflows.listjobsforworkflowrunattempt with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: download-workflow-run-attempt-logs description: Download Workflow Run Attempt Logs hints: readOnly: true destructive: false idempotent: true call: temp-workflows.downloadworkflowrunattemptlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: cancel-workflow-run description: Cancel Workflow Run hints: readOnly: false destructive: false idempotent: false call: temp-workflows.cancelworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-jobs-workflow-run description: List Jobs For Workflow Run hints: readOnly: true destructive: false idempotent: true call: temp-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: download-workflow-run-logs description: Download Workflow Run Logs hints: readOnly: true destructive: false idempotent: true call: temp-workflows.downloadworkflowrunlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: delete-workflow-run-logs description: Delete Workflow Run Logs hints: readOnly: false destructive: true idempotent: true call: temp-workflows.deleteworkflowrunlogs with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-pending-deployments-workflow-run description: Get Pending Deployments For Workflow Run hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getpendingdeploymentsforworkflowrun with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: review-pending-deployments-workflow-run description: Review Pending Deployments For Workflow Run hints: readOnly: false destructive: false idempotent: false call: temp-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: re-run-workflow description: Re-run Workflow hints: readOnly: false destructive: false idempotent: false call: temp-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: re-run-failed-jobs-workflow description: Re-run Failed Jobs From Workflow Run hints: readOnly: false destructive: false idempotent: false call: temp-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: list-repository-workflows description: List Repository Workflows hints: readOnly: true destructive: false idempotent: true call: temp-workflows.listrepositoryworkflows with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: get-workflow description: Get Workflow hints: readOnly: true destructive: false idempotent: true call: temp-workflows.getworkflow 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-workflows.disableworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: create-workflow-dispatch-event description: Create Workflow Dispatch Event hints: readOnly: false destructive: false idempotent: false call: temp-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: enable-workflow description: Enable Workflow hints: readOnly: false destructive: false idempotent: true call: temp-workflows.enableworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: list-workflow-runs-workflow description: List Workflow Runs For Workflow hints: readOnly: true destructive: false idempotent: true call: temp-workflows.listworkflowrunsforworkflow with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.