GitHub Action
Whatsapp Actions for Github
v1.1
Latest version
This is an action repository with an objective of notifying the user on Whatsapp regarding several changes in their github repositories. Messages sent to Whatsapp are rich-formatted, easy to read and comprehend and also contains supportive media to enhance the experience.
- Offers rich-formatted push messages with texts, emojis and all details regarding the event
- Automatically adds the Github Avatar of the user who triggers the event in the message
- Includes all relevant URLs for your quick review and launch them in Github app or website
- Create an account in twilio from here
- Take note of
ACCOUNT SID
andAUTH TOKEN
from your twilio account. You can find it under 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"
Example:
join kavia-digdarshan
- In your repository page, navigate to
Actions > New Workflow > set up a workflow yourself
. It will open up ayaml
file in code editor. - Replace everything in this
yaml
file with below:
name: Whatsapp Notification
on: [push, pull_request, issues, fork, watch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: whatsapp-notify
uses: kaviadigdarshan/whatsapp-actions@main
env:
ACCOUNT_SID: ${{ secrets.ACCOUNT_SID }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
TO_WHATSAPP_NUMBER: ${{ secrets.TO_WHATSAPP_NUMBER }}
Give us a 🌟 to support!
Copyright © 2020 Digdarshan Kavia