Skip to content
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

Publish issue/PR reaction events somewhere #2

Open
chadwhitacre opened this issue Feb 23, 2021 · 7 comments
Open

Publish issue/PR reaction events somewhere #2

chadwhitacre opened this issue Feb 23, 2021 · 7 comments

Comments

@chadwhitacre
Copy link
Member

@jonesphillip wants to know when someone upvotes an issue, so he can follow up with them. 👍

Maybe this is a Slack tie-in? Routed based on Team: label assignments to one #channel or another?

@BYK
Copy link
Member

BYK commented Mar 4, 2021

I'll take this on and do some investigation today.

@BYK
Copy link
Member

BYK commented Mar 4, 2021

So turns out GitHub doesn't have a webhook for reactions but they do have an API for them.

Proposed solution: create a daily ETL job that scrapes all open issues and creates a table with reactions count and Team: labels information. Feed this into Looker and create a dashboard that is shared weekly.

@chadwhitacre @jonesphillip thoughts?

@chadwhitacre
Copy link
Member Author

Sounds like this write-up, maybe some ideas in there?

Should we try to use github_events for this? We'd need to add a team field, and I'd hate for that to be a mutable string, better to have an id ... get the Notion DB API idea going first? I guess that is relevant whether we use github_events or a new table.

field value
type issues
action count-upvotes
username
user_id
repository
object_id
created_at
updated_at
target_id 54 ← overload this? doesn't feel great
target_name
target_type
webhook_source
user_type
team_id 79676C8E-2F83-4FE8-BBD0-1A91FA2D2000

@chadwhitacre
Copy link
Member Author

GitHub doesn't have a webhook for reactions

P.S. I upvoted that and also filed a support ticket to upvote internally. So meta. :P

@chadwhitacre
Copy link
Member Author

Possibly related? https://sourcekarma.vercel.app/

@github-actions
Copy link

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@chadwhitacre chadwhitacre transferred this issue from getsentry/.github May 9, 2022
@chadwhitacre
Copy link
Member Author

I still like this as a future iteration on our GitHub notifications, somewhere after #89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants