forked from athul/telewire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (52 loc) · 1.4 KB
/
action.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Telewire'
description: 'Connect your GitHub Repo to Telegram'
author: 'athul'
inputs:
chat:
description: 'Chat to send: chat id or @channel_name'
required: true
token:
description: 'Telegram Bot token'
required: true
status:
description: 'Job status'
required: true
stargazers:
description: 'Get Stars of the Repo'
default: ${{ github.event.repository.stargazers_count }}
forkers:
description: 'Number of Forks'
default: ${{ github.event.repository.forks_count }}
iu_title:
description: 'Issue Title'
default: ${{ github.event.issue.title }}
iu_num:
description: 'Issue Number'
default: ${{ github.event.issue.number }}
iu_actor:
description: 'Issue Triggerer'
default: ${{ github.event.issue.user.login }}
iu_body:
description: 'Issue Body'
default: ${{ github.event.issue.body }}
iu_com:
description: 'Issue Comment'
default: ${{github.event.comment.body}}
pr_state:
description: 'State of the PR'
default: ${{ github.event.action }}
pr_num:
description: 'PR Number'
default: ${{ github.event.number }}
pr_title:
description: 'Title of the PR'
default: ${{ github.event.pull_request.title }}
pr_body:
description: 'Body/Contents of the PR'
default: ${{ github.event.pull_request.body }}
runs:
using: "node12"
main: "dist/index.js"
branding:
icon: 'repeat'
color: 'green'