QU-RoboSub / 2025-general

General repository for files shared by the entire team
0 stars 0 forks source link

Setup automations for discord, github, and outlook #14

Closed MFauzanAP closed 5 months ago

MFauzanAP commented 5 months ago

Automation ideas:

MFauzanAP commented 5 months ago

Discord channel for each subsystem which is open to anyone so others can get updated on what others are doing, they can mute it as well if it gets too annoying, maybe we can make it muted by default but idk if thats a thing on discord

MFauzanAP commented 5 months ago

You can listen to events on GitHub using webhooks, see here. They even include data about the issue, so theoretically you can do something like this:

// data obtained whenever the issue-comment event is sent
const payload = ...

// send update to each subsystem channel
payload.issue.labels.forEach((label) => {
  ...
});
a-irhimeh commented 5 months ago

Setup webhooks for each team + the general stuff

a-irhimeh commented 5 months ago

Tst new config

a-irhimeh commented 5 months ago

tst 2

MFauzanAP commented 5 months ago

Currently this way all updates will be put in one channel, not sure if its the best idea bcs you cant mute notifs for a single subsystem

a-irhimeh commented 5 months ago

seems like it is very limited when it comes to what can be seperated

MFauzanAP commented 5 months ago

seems like it is very limited when it comes to what can be seperated

If we want to separate the notifs I think we have no choice but to make a custom bot. If you've done coding with javascript before it wont be too difficult though. Check the following resources:

a-irhimeh commented 5 months ago

Sure I will see what I can do

a-irhimeh commented 5 months ago

How about this lets keep this for later and focus more on the important tasks I want to have something presentable by the end of eid week

MFauzanAP commented 5 months ago

How about this lets keep this for later and focus more on the important tasks I want to have something presentable by the end of eid week

Sure no worries, this is P4 anyways, but if you think theres someone thats free to do this you can assign it to them to research

MFauzanAP commented 5 months ago

test