generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmain.yaml
31 lines (28 loc) · 946 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Notifier
# triggers for notifying
# these are some important trigger cases could be change as need
# check here https://developer.github.com/webhooks/
on:
issue_comment:
types: created
issues:
types: [opened, edited, pinned, closed, reopened, assigned, labeled]
pull_request:
types: [opened, closed, edited, ready_for_review, review_requested, reopened]
pull_request_review_comment:
types: created
push:
jobs:
build:
name: Notifier
runs-on: ubuntu-latest
steps:
- name: Notifier
uses: GokulDas027/TelegramBridge@master
if: always()
with:
chat: ${{ secrets.chat }} # save your chat id at settings/secrets with name: chat
token: ${{ secrets.token }} # savethe bot token at settings/secrets with name: token
status: ${{ job.status }} # don't change
event: ${{ github.event_name }} # don't change
actor: ${{ github.actor }} # don't change