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

Course automation: Notification for proposal-PR new comments #958

Merged
merged 4 commits into from
Mar 25, 2021

Conversation

isacarvid
Copy link

Course automation: Email notification for proposal-PR new comments

Members

Ayub Atif (aatif@kth.se)
GitHub: ayubatif

Isac Arvidsson (isacarv@kth.se)
Github: isacarvid

Proposal

We want to send a notification via email to all PR group members when a new comment on a proposal-PR has been made(new comment, approved, request changes). The problem arises as only the author of the PR would receive a notification normally, leaving the other members without knowledge of needed changes. Thereby providing an improvement to the course automation experience.

The requirements for the actions are:

  • When a proposal-PR is commented it triggers Github actions.
  • Parse README.md to find all members.
  • Include PR-status and title of PR.
  • Include the new comment.
  • Send email to all group members.

@isacarvid
Copy link
Author

An alternative approach would be to instead provide notification of a proposal-PR review's result (approve, request changes). This assumes that the review functionality is used for proposals 😁

@cesarsotovalero
Copy link

Hi @isacarvid, the originally proposed functionality is good. I suggest you give the students the choice to use the action or not. For example, you can allow using some wildcard word for setting on/off the action (which should be off by default). This way, students who don't want to be notified are not going to receive email alerts.

@cesarsotovalero cesarsotovalero merged commit ba691fb into KTH:2021 Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants