-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IssueEvents missing "performed_via_github_app" value #2945
Comments
Would you like to create a PR, or shall I open this up to our other contributors? (This would also be a great Hacktoberfest PR.) |
@gmlewis I can work on a PR. I also noticed that depending on the event the |
Excellent, thank you, @Shyclyde ! It's yours. 💜 |
PR: #2946. 👀 are appreciated when available :) |
Fixed by #2946. |
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!
The text was updated successfully, but these errors were encountered: