Description
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The description of the sender
property.
In the docs it says that the sender property is github
for the created
, fixed
, reopened
, appeared_in_branch
actions.
But, what are the values for the sender property?
Currently the example uses the values from the GET /orgs/github
REST endpoint while the other webhooks use similar values to the GET /user/github
REST endpoint
Additional information
I'm a contributor to octokit/webhooks
, and a staffer sent a PR (octokit/webhooks#366) with some updates to the CodeScanningAlert
event that were currently in progress.
The other day, we have another staffer send us a PR that doesn't match the sender
field in the example payload in the docs and that uses values pulled from the GET /users/github
enpoint.
My understanding of the docs right now is that the sender property is the user that triggered the event.
And for the actions reopened
, fixed
, created
, appeared_in_branch
, the user that triggered the event is github