Issue Number does not populate correctly in @actions/github
Context.issue
#289
Labels
bug
Something isn't working
@actions/github
Context.issue
#289
Describe the bug
Issue number is empty for PullRequestReview and PullRequestReviewComment events
To Reproduce
on: [pull_request_review, pull_request_review_comment]
Expected behavior
The Issue number field should be populated.
Screenshots
The issue number field is null.
Additional context
We appear to be accessing
pullRequest
instead ofpull_request
causing this bug:https://github.com/actions/toolkit/blob/master/packages/github/src/context.ts#L47
The text was updated successfully, but these errors were encountered: