[CS2103-T12-1] CodeConnect #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Telegram Pull Request Notifier | |
on: | |
pull_request_target: | |
types: [opened, review_requested] | |
jobs: | |
notification: | |
runs-on: ubuntu-latest | |
steps: | |
# Send a telegram message on pr open or review request | |
- name: Pull Request Telegram | |
uses: angsongyee/pr-telegram-action | |
with: | |
bot_token: '${{ secrets.BOTTOKEN }}' | |
chat_id: '${{ secrets.CHATID }}' |