github-activity-readme icon indicating copy to clipboard operation
github-activity-readme copied to clipboard

"Discussions" contributions not listed

Open julianYaman opened this issue 2 years ago • 2 comments

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

julianYaman avatar Feb 01 '22 07:02 julianYaman

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

tuunit avatar May 31 '23 05:05 tuunit

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)

tuunit avatar Aug 23 '23 08:08 tuunit