File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Event Notifier
2+
3+ on :
4+ issues :
5+ types : [opened, labeled, reopened]
6+ pull_request_target :
7+ types : [opened, reopened] # zizmor: ignore[dangerous-triggers]
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}
11+ cancel-in-progress : true
12+
13+ permissions :
14+ issues : read
15+ pull-requests : read
16+
17+ jobs :
18+ notify :
19+ name : " Telegram notification"
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Send Telegram notification for new issue or pull request
23+ uses : sehat1137/telegram-notifier@5d130037eb80a33251f3afe8bc56447236acab77 # v 1.3.0
24+ with :
25+ tg-bot-token : ${{ secrets.TELEGRAM_BOT_TOKEN }}
26+ tg-chat-id : ${{ vars.TELEGRAM_CHAT_ID }}
27+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments