GitHub · Capability

github-repo-actions-api — Workflows

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.

Run with Naftiko GithubWorkflows

What You Can Do

GET
Downloadjoblogsforworkflowrun — GitHub Download Job Logs for Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs
POST
Rerunjobfromworkflowrun — GitHub Re-run Job from Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/rerun
GET
Getthelevelofaccessforworkflowsoutsideoftherepository — GitHub Get the Level of Access for Workflows Outside of the Repository
/v1/repos/{owner}/{repo}/actions/permissions/access
PUT
Setthelevelofaccessforworkflowsoutsideoftherepository — GitHub Set the Level of Access for Workflows Outside of the Repository
/v1/repos/{owner}/{repo}/actions/permissions/access
GET
Getdefaultworkflowpermissionsforrepository — GitHub Get Default Workflow Permissions for Repository
/v1/repos/{owner}/{repo}/actions/permissions/workflow
PUT
Setdefaultworkflowpermissionsforrepository — GitHub Set Default Workflow Permissions for Repository
/v1/repos/{owner}/{repo}/actions/permissions/workflow
GET
Listworkflowrunsforrepository — GitHub List Workflow Runs for Repository
/v1/repos/{owner}/{repo}/actions/runs
GET
Getworkflowrun — GitHub Get Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
DELETE
Deleteworkflowrun — GitHub Delete Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
GET
Getthereviewhistoryforworkflowrun — GitHub Get the Review History for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals
GET
Listworkflowrunartifacts — GitHub List Workflow Run Artifacts
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/artifacts
GET
Getworkflowrunattempt — GitHub Get Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}
GET
Listjobsforworkflowrunattempt — GitHub List Jobs for Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/jobs
GET
Downloadworkflowrunattemptlogs — GitHub Download Workflow Run Attempt Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/logs
POST
Cancelworkflowrun — GitHub Cancel Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/cancel
GET
Listjobsforworkflowrun — GitHub List Jobs for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/jobs
GET
Downloadworkflowrunlogs — GitHub Download Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
DELETE
Deleteworkflowrunlogs — GitHub Delete Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
GET
Getpendingdeploymentsforworkflowrun — GitHub Get Pending Deployments for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Reviewpendingdeploymentsforworkflowrun — GitHub Review Pending Deployments for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Rerunworkflow — GitHub Re-run Workflow
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/rerun
POST
Rerunfailedjobsfromworkflowrun — GitHub Re-run Failed Jobs from Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/rerun-failed-jobs
GET
Listrepositoryworkflows — GitHub List Repository Workflows
/v1/repos/{owner}/{repo}/actions/workflows
GET
Getworkflow — GitHub Get Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}
PUT
Disableworkflow — GitHub Disable Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/disable
POST
Createworkflowdispatchevent — GitHub Create Workflow Dispatch Event
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches
PUT
Enableworkflow — GitHub Enable Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable
GET
Listworkflowrunsforworkflow — GitHub List Workflow Runs for Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/runs

MCP Tools

github-download-job-logs-workflow

GitHub Download Job Logs for Workflow Run

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

GitHub Re-run Job from Workflow Run

github-get-level-access-workflows

GitHub Get the Level of Access for Workflows Outside of the Repository

read-only idempotent
github-set-level-access-workflows

GitHub Set the Level of Access for Workflows Outside of the Repository

idempotent
github-get-default-workflow-permissions

GitHub Get Default Workflow Permissions for Repository

read-only idempotent
github-set-default-workflow-permissions

GitHub Set Default Workflow Permissions for Repository

idempotent
github-list-workflow-runs-repository

GitHub List Workflow Runs for Repository

read-only idempotent
github-get-workflow-run

GitHub Get Workflow Run

read-only idempotent
github-delete-workflow-run

GitHub Delete Workflow Run

idempotent
github-get-review-history-workflow

GitHub Get the Review History for Workflow Run

read-only idempotent
github-list-workflow-run-artifacts

GitHub List Workflow Run Artifacts

read-only idempotent
github-get-workflow-run-attempt

GitHub Get Workflow Run Attempt

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

GitHub List Jobs for Workflow Run Attempt

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

GitHub Download Workflow Run Attempt Logs

read-only idempotent
github-cancel-workflow-run

GitHub Cancel Workflow Run

github-list-jobs-workflow-run-2

GitHub List Jobs for Workflow Run

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

GitHub Download Workflow Run Logs

read-only idempotent
github-delete-workflow-run-logs

GitHub Delete Workflow Run Logs

idempotent
github-get-pending-deployments-workflow

GitHub Get Pending Deployments for Workflow Run

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

GitHub Review Pending Deployments for Workflow Run

github-re-run-workflow

GitHub Re-run Workflow

github-re-run-failed-jobs

GitHub Re-run Failed Jobs from Workflow Run

github-list-repository-workflows

GitHub List Repository Workflows

read-only idempotent
github-get-workflow

GitHub Get Workflow

read-only idempotent
github-disable-workflow

GitHub Disable Workflow

idempotent
github-create-workflow-dispatch-event

GitHub Create Workflow Dispatch Event

github-enable-workflow

GitHub Enable Workflow

idempotent
github-list-workflow-runs-workflow

GitHub List Workflow Runs for Workflow

read-only idempotent

Capability Spec

repo-actions-workflows.yaml Raw ↑
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
        

# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/repo-actions-workflows.yaml