github-activity-readme
github-activity-readme copied to clipboard
"Discussions" contributions not listed
I noticed that contributions in Discussions are not listed in my recent activity list. This would be a nice addition to this Action.
Thank you so much for your work! It is really great to have this in my README.
Kind regards Julian
Hi @julianYaman,
as far as I know contributions to discussions don't result in a trackable event. Therefore we cannot include it in the Action:
https://docs.github.com/en/webhooks-and-events/events/github-event-types
Hi @julianYaman, I know this is unfortunate as discussions are counted as contributions on the Github contribution graph but are not part of the users github events api response. Therefore the current implementation cannot handle discussions. Maybe the newer GraphQL api instead of the rest api can provide this information but that would mean a complete refactoring of this repository. (and i haven't checked if that would even be the case. just a theory of mine as the new GraphQL api provides a lot more data / flexibility)