Skip to content

Missing display_title field from WorkflowRun #2791

@wheelerlaw

Description

@wheelerlaw

The field display_title is missing from the WorkflowRun struct. It is part of the response body for various API endpoints that return an instance of a WorkflowRun.

The endpoint /repos/OWNER/REPO/actions/runs/RUN_ID has it shown in the docs:

{
  "id": 30433642,
  "name": "Build",
  "node_id": "MDEyOldvcmtmbG93IFJ1bjI2OTI4OQ==",
  "check_suite_id": 42,
  "check_suite_node_id": "MDEwOkNoZWNrU3VpdGU0Mg==",
  "head_branch": "main",
  "head_sha": "acb5820ced9479c074f688cc328bf03f341a511d",
  "path": ".github/workflows/build.yml@main",
  "run_number": 562,
  "event": "push",
  "display_title": "Update README.md",  <-------
  "status": "queued",
  "conclusion": null,
  "workflow_id": 159038,
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642",
  "html_url": "https://github.com/octo-org/octo-repo/actions/runs/30433642",
  "pull_requests": [],
  ...
}

It isn't shown in the docs for the endpoint /repos/OWNER/REPO/actions/runs but it's present in the actual response body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions