json-schema-org / community

A space to discuss community and organisational related things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notify PRs pending to review in Slack.

benjagm opened this issue · comments

Context

The JSON Schema community has been growing rapidly in recent years, and as a result, our community operations have become more complex. While we've made strides in improving our processes and communication, there is always room for improvement. To that end, We'd like to start a discussion around identifying suitable automations that could help us to focus on generating value for JSON Schema.

Requirements

We'd like to notify in the github channel of slack in a weekly basis the list of PRs pending to review for the repositories: website, community and json-schema-spec.

Can i try this if its available

@benjagm I'd like to try this out.

  • The idea is to use a cron and schedule a script to run on a weekly basis such as for 0 12 * * 1

  • We can use Github actions workflow with cron syntax and run a script as a job. Alternatively, we can also use Cron for scheduling the script run.

  • The script will be responsible for fetching open PRs from a list of Repositories and sending a slack notification to our desired Slack webhook URL.

  • For fetching the PRs, I think we can manually call the Github API or use Octokit, whichever suits our needs.

  • I will try to post a POC in this thread as soon as possible.

We already have something like this. Example (Slack)

@gregsdennis Yes, this is already taken care of.

Thanks everyone. Well discard this issue.