Skip to content

Add table github_actions_repository_workflow_job#555

Open
WallyGuzman wants to merge 1 commit into
turbot:mainfrom
WallyGuzman:github_actions_repository_workflow_job
Open

Add table github_actions_repository_workflow_job#555
WallyGuzman wants to merge 1 commit into
turbot:mainfrom
WallyGuzman:github_actions_repository_workflow_job

Conversation

@WallyGuzman

Copy link
Copy Markdown

Add table github_actions_repository_workflow_job

  • Follow documentation and logic from github_actions_repository_workflow_run

Note: I did not use any AI tools in writing this PR, so all mistakes are purely on me.
This is my first attempt at Go. Happy to take any and all feedback.

Example query results

Results
> .output line;
> select
  id,
  runner_id,
  conclusion,
  status,
  run_attempt,
  run_url,
  head_sha,
  head_branch
from
    github_actions_repository_workflow_job
where
  repository_full_name = 'turbot/steampipe' and run_id = 26404053809 and conclusion = 'failure';

-[ RECORD 1  ]---------------------------------------------------------------------------
id          | 77,723,789,489
runner_id   | 1,000,162,445
conclusion  | failure
status      | completed
run_attempt | 1
run_url     | https://api.github.com/repos/turbot/steampipe/actions/runs/26404053809
head_sha    | 49ee0b8f32640ae8d007ad8cf90a8ac82840cb27
head_branch | v2.4.x
> .output line;
> select
    repository_full_name,
    run_id,
    id,
    name,
    workflow_name,
    conclusion,
    status,
    head_branch,
    head_sha,
    steps,
    labels,
    created_at,
    started_at,
    completed_at,
    run_attempt,
    runner_id,
    runner_name,
    runner_group_id,
    runner_group_name
from 
    github_actions_repository_workflow_job
where
    repository_full_name = 'duckdb/ducklake'
    and run_id = 29061250981
limit
    1
;

-[ RECORD 1  ]---------------------------------------------------------------------------
repository_full_name | duckdb/ducklake
run_id               | 29,061,250,981
id                   | 86,263,402,141
name                 | Build extension binaries / Generate matrix
workflow_name        | Main Extension Distribution Pipeline
conclusion           | success
status               | completed
head_branch          | v1.4-andium
head_sha             | 41255d478dbfc6542da4c955993486d69bebfa87
steps                | [{"completed_at":"2026-07-10T00:57:53Z","conclusion":"success","name":"Set up job","number":1,"started_at":"2026-07-10T00:57:52Z","status":"completed"},{"completed_at":"2026-07-10T00:57:54Z","conclusion":"success","name":"Checkout Extension CI tools","number":2,"started_at":"2026-07-10T00:57:53Z","status":"completed"},{"completed_at":"2026-07-10T00:57:56Z","conclusion":"success","name":"Setup Go","number":3,"started_at":"2026-07-10T00:57:54Z","status":"completed"},{"completed_at":"2026-07-10T00:57:56Z","conclusion":"success","name":"Dump event path file","number":4,"started_at":"2026-07-10T00:57:56Z","status":"completed"},{"completed_at":"2026-07-10T00:58:00Z","conclusion":"success","name":"Compute extension build matrix","number":5,"started_at":"2026-07-10T00:57:56Z","status":"completed"},{"completed_at":"2026-07-10T00:58:01Z","conclusion":"success","name":"Post Setup Go","number":9,"started_at":"2026-07-10T00:58:00Z","status":"completed"},{"completed_at":"2026-07-10T00:58:01Z","conclusion":"success","name":"Post Checkout Extension CI tools","number":10,"started_at":"2026-07-10T00:58:01Z","status":"completed"},{"completed_at":"2026-07-10T00:58:01Z","conclusion":"success","name":"Complete job","number":11,"started_at":"2026-07-10T00:58:01Z","status":"completed"}]
labels               | ["ubuntu-latest"]
created_at           | 2026-07-10T00:57:49Z
started_at           | 2026-07-10T00:57:52Z
completed_at         | 2026-07-10T00:58:02Z
run_attempt          | 1
runner_id            | 1,000,869,520
runner_name          | GitHub Actions 1000869520
runner_group_id      | 0
runner_group_name    | GitHub Actions

- Follow documentation and logic from github_actions_repository_workflow_run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant