-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
34 lines (34 loc) · 1.15 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
name: "Build Status Notifier"
description: "Notify slack about complex builds"
inputs:
type:
description: "set to 'trigger' to initialize message or 'link' to append a header link. Default value is 'update' which will report job status"
default: "update"
messageTs:
description: "Timestamp of a previous message. Required for fail and success notifications"
token:
description: "Slack bot token"
required: true
channel:
description: "The channel to post to!"
required: true
githubToken:
description: "Github token with actions:read permission"
jobStatus:
description: "Give me job.status please!"
name:
description: "Defaults to job name"
header:
description: "Give me notification header please!"
default: "Build"
link:
description: "when using the 'link' type you need to supply me with a url!"
link_text:
description: "when using thhe 'link' type you can supply me with some link text to use"
outputs:
messageTs:
description: "The timestamp of the message. Used to identify the message in future steps"
runs:
using: "node16"
main: "dist/index/index.js"
post: "dist/cleanup/index.js"