Skip to content

Commit 0de36ca

Browse files
committed
Setup telegram notification for new issues
1 parent c78d84f commit 0de36ca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Notificação - Nova issue
2+
on:
3+
issues:
4+
types: [opened]
5+
jobs:
6+
build:
7+
name: Build
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- name: Notify Python Floripa on Telegram
12+
uses: appleboy/telegram-action@master
13+
with:
14+
to: ${{ secrets.TELEGRAM_TO }}
15+
token: ${{ secrets.TELEGRAM_TOKEN }}
16+
format: html
17+
disable_web_page_preview: true
18+
message: |
19+
<b>✨ Nova issue no Github!</b>
20+
21+
<code>${{ github.event.issue.title }}</code>
22+
${{ github.event.issue.html_url }}
23+
24+
<b>Participe!</b>

0 commit comments

Comments
 (0)