This repository is for notifying the user on Whatsapp regarding several events in their github repositories.
- Create an account in twilio from here
- Take note of
ACCOUNT SIDandAUTH TOKENfrom your Twilio Account Dashboard.
- Navigate to your repository secrets
Settings > Secrets - Add below secrets using button
New repository secret
| Name | Value |
|---|---|
| ACCOUNT_SID | ACCOUNT SID copied earlier |
| AUTH_TOKEN | AUTH TOKEN copied earlier |
| TO_WHATSAPP_NUMBER | Your Whatsapp Number |
- Add a contact on your phone for Twilio number:
+14155238886) - From your Whatsapp number, send a message to the above twilio number in the below format:
join "your-name"
- In your repository page, navigate to
Actions > New Workflow > set up a workflow yourself. It will open up ayamlfile in code editor. - Replace everything in this
yamlfile with below:
name: Whatsapp Notification
on: [push, pull_request, issues, fork, watch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: whatsapp-notify
uses: github-suraj/git-action-alerts@main
env:
ACCOUNT_SID: ${{ secrets.ACCOUNT_SID }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
TO_WHATSAPP_NUMBER: ${{ secrets.TO_WHATSAPP_NUMBER }}Give us a 🌟 if this project helped you!
Copyright © 2021 Suraj Jaiswal