summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Condello <nanomad@users.noreply.github.com>2022-08-25 14:07:56 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:08:11 +0100
commitffc4071565f94bdfbee8b3618dbc619564da8130 (patch)
treef7515641ae46c2556ba53ccd12df60f6041b4a2f
parentupdate infos (diff)
downloadhack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar.gz
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar.bz2
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar.lz
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar.xz
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.tar.zst
hack-gpon.github.io-ffc4071565f94bdfbee8b3618dbc619564da8130.zip
-rw-r--r--.github/workflows/notify-telegram-pr.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/notify-telegram-pr.yml b/.github/workflows/notify-telegram-pr.yml
new file mode 100644
index 0000000..be80d08
--- /dev/null
+++ b/.github/workflows/notify-telegram-pr.yml
@@ -0,0 +1,18 @@
+name: notify-telegram-pr
+
+on:
+ pull_request:
+ types: [opened, reopened]
+jobs:
+ build:
+ name: Notify Telegram
+ runs-on: ubuntu-latest
+ steps:
+ - name: send telegram message on PR opened
+ uses: appleboy/telegram-action@master
+ with:
+ to: ${{ secrets.TELEGRAM_TO }}
+ token: ${{ secrets.TELEGRAM_TOKEN }}
+ message: |
+ ${{ github.actor }} created PR ${{ github.event.pull_request.title }}
+ See changes: ${{ github.event.pull_request.html_url }}