Skip to content

IvanReyesO7/sharehouse-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharehouse-bot 🤖

Small bot that sends a weekly reminders of whose turn it is to do the cleaning, and what day of the week the Trash needs to be taken out.

How to update the database?

The database of this project relies on two files members.yml and teams.yml.

The teams.yml file contains the number of teams and it must be sorted by order, the first team in the least will be the next team picked by the bot, and then will update the list automatically after sending the message.

The members.yml file contains the members of each team, please edit this file if you need to add or remove any member of the house.

⚠️ When editing any of the files, please make sure that you are not breaking the formating of the file. If the format is no longer valid the Bot will be confused and won't work anymore 🤖

How to change the frequency in which the robot sends the message.

For instance, one of the task of this bot is to send a custom message every week's Monday at 8:00 am (JST). You can change the frequency of this task in the respective worflow file, in this case is the .github/workflows/main.yml file. Go to line 5 and edit the - cron field. You can follow this guide if you are not familiar with the Cron Syntax.

⚠️ Please keep in mind that GitHub actions run on UTC time. For instance, the original schedule is set to run the app every Sunday at 23:00 UTC (Monday, 8:00 in JST).

on:
  schedule:
     - cron: "0 23 * * 0"

About

掃除お知らせくん

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages