Skip to content
For LLMsView as Markdown·

GitHub Actions ​

Manage workflows, trigger runs, and retrieve artifacts with GitHub Actions.

DetailValue
CategoryCI/CD
Base URLhttps://api.github.com
AuthenticationBearer Token
Endpoints8
Connector keygithub-actions

Using GitHub Actions in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick GitHub Actions from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /repos/{owner}/{repo}/actions/workflowsList workflows
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatchesTrigger a workflow
GET /repos/{owner}/{repo}/actions/runsList workflow runs
GET /repos/{owner}/{repo}/actions/runs/{run_id}Get workflow run details
POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancelCancel a workflow run
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerunRerun a workflow run
GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobsList jobs for a run
GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifactsList artifacts

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /repos/{owner}/{repo}/actions/workflows ​

List workflows

DetailValue
Operation IDcicd.listWorkflows
MethodGET
Path/repos/{owner}/{repo}/actions/workflows

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.listWorkflows.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches ​

Trigger a workflow

DetailValue
Operation IDcicd.createWorkflowDispatch
MethodPOST
Path/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.createWorkflowDispatch.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

GET /repos/{owner}/{repo}/actions/runs ​

List workflow runs

DetailValue
Operation IDcicd.listWorkflowRuns
MethodGET
Path/repos/{owner}/{repo}/actions/runs

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.listWorkflowRuns.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

GET /repos/{owner}/{repo}/actions/runs/{run_id} ​

Get workflow run details

DetailValue
Operation IDcicd.getWorkflowRun
MethodGET
Path/repos/{owner}/{repo}/actions/runs/{run_id}

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.getWorkflowRun.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel ​

Cancel a workflow run

DetailValue
Operation IDcicd.cancelWorkflowRun
MethodPOST
Path/repos/{owner}/{repo}/actions/runs/{run_id}/cancel

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.cancelWorkflowRun.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun ​

Rerun a workflow run

DetailValue
Operation IDcicd.rerunWorkflowRun
MethodPOST
Path/repos/{owner}/{repo}/actions/runs/{run_id}/rerun

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.rerunWorkflowRun.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs ​

List jobs for a run

DetailValue
Operation IDcicd.listJobsForWorkflowRun
MethodGET
Path/repos/{owner}/{repo}/actions/runs/{run_id}/jobs

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.listJobsForWorkflowRun.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.

GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts ​

List artifacts

DetailValue
Operation IDcicd.listWorkflowRunArtifacts
MethodGET
Path/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub Actions connection from the Connection dropdown.
  3. In the Operation dropdown, select cicd.listWorkflowRunArtifacts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub Actions API reference.