You can regularly send a message to slack using github actions.
- Create
SLACK_API_TOKEN
secret in your github repository. Set slack bot user token asSLACK_API_TOKEN
. Get slack api token from here - Set the channel name where you want to send a message to
CHANNEL
insend_message.py
. - Edit the message content
message
insend_message.py
. - Schedule a workflow. Please edit
cron
parameter in.github/workflows/send_message.yml
. You can also run a workflow manually in github.