Response type for GET /repos/{owner}/{repo}/events
missing ref
and commits
type for PushEvents
#476
Labels
Status: Blocked
Blocked by GitHub's API or other external factors
Type: Bug
Something isn't working as documented, or is being fixed
What happened?
I'm getting the recent commits from a branch through
GET /repos/{owner}/{repo}/events
, I'm filtering commits that were committed to the main branch and getting the latest one.It looks like the payload type does not have
ref
andcommits
key in it.How to Fix
Probably need to add
ref?: string
inside the payload typeThe text was updated successfully, but these errors were encountered: