These fields are present in the output regardless of which event type triggered the workflow:
| Field | Type | Description |
event_type | string | The GitHub event type: push, pull_request, issues, release, or workflow_run. |
repository | string | Repository full name in owner/repo format. |
repository_id | integer | GitHub's numeric ID for the repository. |
repository_url | string | HTML URL of the repository on GitHub. |
repository_private | bool | true if the repository is private. |
repository_description | string | Repository description text (nullable). |
owner_login | string | GitHub login of the repository owner (user or organisation). |
owner_type | string | User or Organization. |
action | string | The specific action within the event (e.g. opened, closed, synchronize). Null for push events. |
sender_login | string | GitHub login of the user who triggered the event. |
sender_id | integer | GitHub numeric user ID of the sender. |
sender_type | string | User or Bot. |
sender_avatar_url | string | URL of the sender's GitHub avatar image. |
timestamp | string | ISO 8601 timestamp of when the event was created on GitHub. |
| Field | Type | Description |
branch | string | Short branch name (e.g. main, feature/auth). |
ref | string | Full Git ref (e.g. refs/heads/main, refs/tags/v1.2.0). |
before_commit | string | SHA of the commit before the push. |
after_commit | string | SHA of the HEAD commit after the push. |
forced_push | bool | true if the push was a force push (history rewritten). |
pusher | string | GitHub login of the user who performed the push. |
pusher_email | string | Email address of the pusher (from Git config). |
commits | array | Array of commit objects included in this push. Each commit has: id (SHA), message, url, timestamp, author (name), author_email. |
commit_count | integer | Total number of commits in this push. |
| Field | Type | Description |
pr_number | integer | Pull request number in the repository. |
pr_title | string | Title of the pull request. |
pr_body | string | Description body of the pull request (nullable). |
pr_state | string | Current state: open, closed, or draft. |
pr_merged | bool | true if the PR has been merged. |
pr_head_branch | string | The branch containing the changes (head). |
pr_base_branch | string | The branch being merged into (base). |
pr_url | string | HTML URL of the pull request on GitHub. |
pr_requested_reviewers | array | Array of GitHub login strings for requested reviewers. |
pr_labels | array | Array of label name strings applied to the PR. |
pr_created_at | string | ISO 8601 timestamp of when the PR was opened. |
pr_updated_at | string | ISO 8601 timestamp of the most recent update. |
pr_merged_at | string | ISO 8601 timestamp of when the PR was merged. Null if not yet merged. |
| Field | Type | Description |
workflow_run_id | integer | GitHub Actions run ID. |
workflow_name | string | Name of the GitHub Actions workflow. |
workflow_status | string | Current status: queued, in_progress, or completed. |
workflow_conclusion | string | Final conclusion when status is completed: success, failure, cancelled, skipped, timed_out, action_required. Null when still running. |
workflow_run_number | integer | Sequential run number for this workflow. |
workflow_branch | string | Branch that triggered the workflow run. |
workflow_commit_sha | string | Git commit SHA that the workflow ran against. |
workflow_created_at | string | ISO 8601 timestamp of when the run was created. |
workflow_updated_at | string | ISO 8601 timestamp of the most recent status update. |