We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9723eb commit cd6facfCopy full SHA for cd6facf
1 file changed
.github/workflows/issue_notify.yml
@@ -0,0 +1,29 @@
1
+name: Issue Notifier
2
+
3
+on:
4
+ issues:
5
+ types:
6
+ - opened
7
8
+jobs:
9
+ issue_tracker:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@main
14
15
+ - name: Notify in Telegram
16
+ run: |
17
+ TgNotify() {
18
+ curl -s -X POST "https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/sendMessage" -d chat_id="${{ secrets.PRIV_CHAT_ID }}" \
19
+ -d parse_mode=Markdown \
20
+ -d text="${1}" \
21
+ -d disable_web_page_preview=true
22
+ }
23
24
+ TgNotify "
25
+ #ISSUE\_TRACKER
26
+ *New Issue Opened at* [${{ github.repository }}](https://github.com/${{ github.repository }})
27
+ *Title:* \`${{ github.event.issue.title }}\`
28
+ *User:* [${{ github.actor }}](https://github.com/${{ github.actor }})
29
+ *Issue URL:* [Here](${{ github.event.issue.html_url }})"
0 commit comments