-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
45 lines (43 loc) · 1.13 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
name: 'Send message to Rocket Chat'
description: 'Send message to Rocket Chat server'
inputs:
ROCKET_CHAT_URL:
description: 'Url'
required: true
message:
description: 'Message to send'
required: true
ROCKET_CHAT_HOOK:
description: 'Github token'
required: true
ROCKET_CHAT_USER:
description: 'User for private messages'
required: false
ROCKET_CHAT_PASS:
description: 'User password for private messages'
required: false
MESSAGE_TO:
description: 'Who receives private message'
required: false
BOT_NAME:
description: 'Custom name for your bot'
required: false
default: 'Github Bot'
BOT_AVATAR:
description: 'Custom avatar for your bot'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.ROCKET_CHAT_URL}}
- ${{ inputs.message }}
- ${{ inputs.ROCKET_CHAT_HOOK }}
- ${{ inputs.ROCKET_CHAT_USER }}
- ${{ inputs.ROCKET_CHAT_PASS }}
- ${{ inputs.MESSAGE_TO }}
- ${{ inputs.BOT_NAME }}
- ${{ inputs.BOT_AVATAR }}
branding:
icon: 'message-circle'
color: 'blue'