Skip to content

Get Latest Workflow Run Node

Data/GitHub/Workflows

Get Latest Workflow Run

Get the most recent workflow run, optionally filtered by conclusion (success/failure)

github_get_latest_workflow_rundataLong running
Inputs14
Outputs13
Security exposure10/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

14

Input

Execution
exec_in

Provider

Struct
provider

GitHub provider with authentication

GitHubProviderGitHubProvider3 fields
provider_idstringrequired
access_tokenstringrequired
base_urlstringrequired
Schema enforced

Owner

String
owner

Repository owner

Repo

String
repo

Repository name

Workflow ID

String
workflow_id

Workflow file name or ID (e.g., 'ci.yml')

Branch

String
branch

Filter by branch name (optional)

Actor

String
actor

Filter by username that triggered the run

Event

String
event

Filter by event type

Created

String
created

Filter runs by creation date range, e.g. >=2024-01-01

Check Suite ID

String
check_suite_id

Filter by check suite ID

Head SHA

String
head_sha

Filter by head commit SHA

Conclusion

String
conclusion

Filter by conclusion (empty = any, success, failure, cancelled, skipped)

successfailurecancelledskippedtimed_out+1 more

Exclude PRs

Boolean
exclude_pull_requests

Exclude runs triggered by pull requests

Default false

Per Page

Integer
per_page

Number of runs to inspect (max 100)

Default 30

Output Pins

13

Success

Execution
exec_out

Error

Execution
error

Not Found

Execution
not_found

No matching run found

Run

Struct
run

The latest workflow run

GitHubWorkflowRunGitHubWorkflowRun12 fields
idinteger:uint64required
format uint64min 0
namestring | null
head_branchstring | null
head_shastringrequired
statusstring | null
conclusionstring | null
workflow_idinteger:uint64required
format uint64min 0
html_urlstringrequired
run_numberinteger:uint64required
format uint64min 0
eventstringrequired
created_atstringrequired
updated_atstringrequired

Run ID

Integer
run_id

The workflow run ID

Run Number

Integer
run_number

The workflow run number

Status

String
status

Run status (queued, in_progress, completed)

Conclusion

String
run_conclusion

Run conclusion (success, failure, etc.)

Branch

String
head_branch

The branch the run was triggered on

Commit SHA

String
run_head_sha

The commit SHA

URL

String
html_url

Link to the workflow run

Is Success

Boolean
is_success

Whether the run completed successfully

Error Message

String
error_message

Error message if request failed

Node Info

Internal name
github_get_latest_workflow_run
Category
Data/GitHub/Workflows
Version
2