GitHub · Capability

GitHub Repos API — Runs

GitHub Repos API — Runs. 26 operations. Lead operation: Get Job For Workflow Run. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubRuns

What You Can Do

GET
Getjobforworkflowrun — Get Job For Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}
GET
Downloadjoblogsforworkflowrun — Download Job Logs For Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs
POST
Rerunjobfromworkflowrun — Re-run Job From Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/rerun
GET
Listworkflowrunsforrepository — List Workflow Runs For Repository
/v1/repos/{owner}/{repo}/actions/runs
GET
Getworkflowrun — Get Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
DELETE
Deleteworkflowrun — Delete Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
GET
Getthereviewhistoryforworkflowrun — Get The Review History For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals
GET
Listworkflowrunartifacts — List Workflow Run Artifacts
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/artifacts
GET
Getworkflowrunattempt — Get Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}
GET
Listjobsforworkflowrunattempt — List Jobs For Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/jobs
GET
Downloadworkflowrunattemptlogs — Download Workflow Run Attempt Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/logs
POST
Cancelworkflowrun — Cancel Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/cancel
GET
Listjobsforworkflowrun — List Jobs For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/jobs
GET
Downloadworkflowrunlogs — Download Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
DELETE
Deleteworkflowrunlogs — Delete Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
GET
Getpendingdeploymentsforworkflowrun — Get Pending Deployments For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Reviewpendingdeploymentsforworkflowrun — Review Pending Deployments For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Rerunfailedjobsfromworkflowrun — Re-run Failed Jobs From Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/rerun-failed-jobs
GET
Listworkflowrunsforworkflow — List Workflow Runs For Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/runs
POST
Createcheckrun — Create Check Run
/v1/repos/{owner}/{repo}/check-runs
GET
Getcheckrun — Get Check Run
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}
PATCH
Updatecheckrun — Update Check Run
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}
GET
Listcheckrunannotations — List Check Run Annotations
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}/annotations
POST
Rerequestcheckrun — Rerequest Check Run
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}/rerequest
GET
Listcheckrunsinchecksuite — List Check Runs In Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
GET
Listcheckrunsforgitreference — List Check Runs For Git Reference
/v1/repos/{owner}/{repo}/commits/{ref}/check-runs

MCP Tools

get-job-workflow-run

Get Job For Workflow Run

read-only idempotent
download-job-logs-workflow-run

Download Job Logs For Workflow Run

read-only idempotent
re-run-job-workflow-run

Re-run Job From Workflow Run

list-workflow-runs-repository

List Workflow Runs For Repository

read-only idempotent
get-workflow-run

Get Workflow Run

read-only idempotent
delete-workflow-run

Delete Workflow Run

idempotent
get-review-history-workflow-run

Get The Review History For Workflow Run

read-only idempotent
list-workflow-run-artifacts

List Workflow Run Artifacts

read-only idempotent
get-workflow-run-attempt

Get Workflow Run Attempt

read-only idempotent
list-jobs-workflow-run-attempt

List Jobs For Workflow Run Attempt

read-only idempotent
download-workflow-run-attempt-logs

Download Workflow Run Attempt Logs

read-only idempotent
cancel-workflow-run

Cancel Workflow Run

list-jobs-workflow-run

List Jobs For Workflow Run

read-only idempotent
download-workflow-run-logs

Download Workflow Run Logs

read-only idempotent
delete-workflow-run-logs

Delete Workflow Run Logs

idempotent
get-pending-deployments-workflow-run

Get Pending Deployments For Workflow Run

read-only idempotent
review-pending-deployments-workflow-run

Review Pending Deployments For Workflow Run

re-run-failed-jobs-workflow

Re-run Failed Jobs From Workflow Run

list-workflow-runs-workflow

List Workflow Runs For Workflow

read-only idempotent
create-check-run

Create Check Run

read-only
get-check-run

Get Check Run

read-only idempotent
update-check-run

Update Check Run

idempotent
list-check-run-annotations

List Check Run Annotations

read-only idempotent
rerequest-check-run

Rerequest Check Run

read-only
list-check-runs-check-suite

List Check Runs In Check Suite

read-only idempotent
list-check-runs-git-reference

List Check Runs For Git Reference

read-only idempotent

Capability Spec

temp-runs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Runs
  description: 'GitHub Repos API — Runs. 26 operations. Lead operation: Get Job For Workflow Run. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Runs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-runs
    baseUri: ''
    description: GitHub Repos API — Runs business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-actions-jobs-job_id
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}
      operations:
      - name: getjobforworkflowrun
        method: GET
        description: Get Job 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-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-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-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-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
    - name: repos-owner-repo-check-runs
      path: /repos/{owner}/{repo}/check-runs
      operations:
      - name: createcheckrun
        method: POST
        description: Create Check 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-check-runs-check_run_id
      path: /repos/{owner}/{repo}/check-runs/{check_run_id}
      operations:
      - name: getcheckrun
        method: GET
        description: Get Check 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: updatecheckrun
        method: PATCH
        description: Update Check 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-check-runs-check_run_id-annotations
      path: /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations
      operations:
      - name: listcheckrunannotations
        method: GET
        description: List Check Run Annotations
        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-check-runs-check_run_id-rerequest
      path: /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest
      operations:
      - name: rerequestcheckrun
        method: POST
        description: Rerequest Check 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-check-suites-check_suite_id-check-runs
      path: /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs
      operations:
      - name: listcheckrunsinchecksuite
        method: GET
        description: List Check Runs In Check Suite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.
        - 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-commits-ref-check-runs
      path: /repos/{owner}/{repo}/commits/{ref}/check-runs
      operations:
      - name: listcheckrunsforgitreference
        method: GET
        description: List Check Runs For Git Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.
        - name: app_id
          in: query
          type: integer
        - 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-runs-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Runs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}
      name: repos-owner-repo-actions-jobs-job-id
      description: REST surface for repos-owner-repo-actions-jobs-job_id.
      operations:
      - method: GET
        name: getjobforworkflowrun
        description: Get Job For Workflow Run
        call: temp-runs.getjobforworkflowrun
        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}/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-runs.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-runs.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/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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-runs.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-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-runs.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/{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-runs.listworkflowrunsforworkflow
        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}/check-runs
      name: repos-owner-repo-check-runs
      description: REST surface for repos-owner-repo-check-runs.
      operations:
      - method: POST
        name: createcheckrun
        description: Create Check Run
        call: temp-runs.createcheckrun
        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}/check-runs/{check-run-id}
      name: repos-owner-repo-check-runs-check-run-id
      description: REST surface for repos-owner-repo-check-runs-check_run_id.
      operations:
      - method: GET
        name: getcheckrun
        description: Get Check Run
        call: temp-runs.getcheckrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecheckrun
        description: Update Check Run
        call: temp-runs.updatecheckrun
        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}/check-runs/{check-run-id}/annotations
      name: repos-owner-repo-check-runs-check-run-id-annotations
      description: REST surface for repos-owner-repo-check-runs-check_run_id-annotations.
      operations:
      - method: GET
        name: listcheckrunannotations
        description: List Check Run Annotations
        call: temp-runs.listcheckrunannotations
        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}/check-runs/{check-run-id}/rerequest
      name: repos-owner-repo-check-runs-check-run-id-rerequest
      description: REST surface for repos-owner-repo-check-runs-check_run_id-rerequest.
      operations:
      - method: POST
        name: rerequestcheckrun
        description: Rerequest Check Run
        call: temp-runs.rerequestcheckrun
        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}/check-suites/{check-suite-id}/check-runs
      name: repos-owner-repo-check-suites-check-suite-id-check-runs
      description: REST surface for repos-owner-repo-check-suites-check_suite_id-check-runs.
      operations:
      - method: GET
        name: listcheckrunsinchecksuite
        description: List Check Runs In Check Suite
        call: temp-runs.listcheckrunsinchecksuite
        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}/commits/{ref}/check-runs
      name: repos-owner-repo-commits-ref-check-runs
      description: REST surface for repos-owner-repo-commits-ref-check-runs.
      operations:
      - method: GET
        name: listcheckrunsforgitreference
        description: List Check Runs For Git Reference
        call: temp-runs.listcheckrunsforgitreference
        with:
          filter: rest.filter
          app_id: rest.app_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
 

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/temp-runs.yaml