It would be handy if the IssueEvent struct were to actually contain the "performed_via_github_app" response that appears to already be in the response:
https://docs.github.com/en/rest/issues/events?apiVersion=2022-11-28#list-issue-events
If this is available elsewhere, please lead me in the right direction because I have missed it :)
Use case: this can help determine if any sensitive events on a pull request -- like removing a sensitive label or required reviewer -- were performed by a human or a bot. For instance, if the bots are tightly managed, these events might be expected by a bot, but if a human did this it might need review.
Cheers!