learningequality / test-actions

A repository for testing GH Actions
MIT License
0 stars 2 forks source link

Automate tracking of the community pull requests #21

Open MisRob opened 1 month ago

MisRob commented 1 month ago

Background

Almost every morning, @MisRob will make a cup of :tea:, and opens the list of Kolibri pull requests, Studio pull requests, and KDS pull requests and finds all new/updated/closed pull requests authored by external volunteers.

Then she logs them in Google Sheet spreadsheet saved on Learning Equality's Google Drive.

Screenshot from 2024-08-11 20-07-14

The spreadsheet is used for multiple purposes, for example to pull out user names of contributors for a particular month so we can send them gratitudes, to nudge core team members to follow-up on reviews, to have an overall overview of activity, etc.

Summary

The goal of this task is to automate the aforementioned workflow. This will help us save some time that could be used for interacting with the community instead, and will also prevent from missing some pull requests.

On a high-level it would work:

Spreadsheet columns:

All information above should be updated in the spreadsheet whenever there is a related change on a pull request.

The update in the PR should never replace the whole sheet row. Rather, it needs to only update the corresponding column in the row (this is because there will be some manually added columns at the end of rows that shouldn't be disappearing)

Guidance

Comments

Not necessary but if it'd be interesting, we'd welcome exploration of implementing a layer that we could use as a basis for common tasks for many actions. For example, it could have a form of a file with helper functions get_pull_request_author, get_pull_request_title, is_member_of_le, etc. Perhaps this task could lay down some foundations.

GarvitSinghal47 commented 1 month ago

@MisRob Could you please assign this issue to me? 😄

MisRob commented 1 month ago

Yes , thank you @GarvitSinghal47