Open
Description
Describe the bug
Author (GHUser
) is not included in the GHRelease
object, even though it is present in the api response.
Unsure if this behaviour was changed in some past api update.
Expected behavior
Author is included.
Additional context
api docs: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#list-releases
example api response:
[
{
"url": "https://api.github.com/repos/hashicorp/terraform/releases/218598268",
"assets_url": "https://api.github.com/repos/hashicorp/terraform/releases/218598268/assets",
"upload_url": "https://uploads.github.com/repos/hashicorp/terraform/releases/218598268/assets{?name,label}",
"html_url": "https://github.com/hashicorp/terraform/releases/tag/v1.12.0",
"id": 218598268,
"author": {
"login": "hc-github-team-es-release-engineering",
"id": 82989873,
"node_id": "MDQ6VXNlcjgyOTg5ODcz",
"avatar_url": "https://avatars.githubusercontent.com/u/82989873?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hc-github-team-es-release-engineering",
"html_url": "https://github.com/hc-github-team-es-release-engineering",
"followers_url": "https://api.github.com/users/hc-github-team-es-release-engineering/followers",
"following_url": "https://api.github.com/users/hc-github-team-es-release-engineering/following{/other_user}",
"gists_url": "https://api.github.com/users/hc-github-team-es-release-engineering/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hc-github-team-es-release-engineering/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hc-github-team-es-release-engineering/subscriptions",
"organizations_url": "https://api.github.com/users/hc-github-team-es-release-engineering/orgs",
"repos_url": "https://api.github.com/users/hc-github-team-es-release-engineering/repos",
"events_url": "https://api.github.com/users/hc-github-team-es-release-engineering/events{/privacy}",
"received_events_url": "https://api.github.com/users/hc-github-team-es-release-engineering/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"node_id": "RE_kwDOAQ6CpM4NB4t8",
"tag_name": "v1.12.0",
"target_commitish": "f9e9a59d7b5b48acf343e07fab768464bcdde4d7",
"name": "v1.12.0",
"draft": false,
"prerelease": false,
"created_at": "2025-05-14T14:11:25Z",
"published_at": "2025-05-14T15:15:45Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/hashicorp/terraform/tarball/v1.12.0",
"zipball_url": "https://api.github.com/repos/hashicorp/terraform/zipball/v1.12.0",
"body": "[truncated for brevity]",
"reactions": {
"url": "https://api.github.com/repos/hashicorp/terraform/releases/218598268/reactions",
"total_count": 11,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 10,
"eyes": 0
}
}
]