forked from Gamesight/slack-workflow-status
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 1.19 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
name: 'Slack Workflow Notifications'
author: 'Anthony Kinson'
description: 'A Github Action for sending Workflow run results to Slack'
branding:
icon: message-square
color: blue
inputs:
repo_token:
description: 'You must manually pass in secrets.GITHUB_TOKEN'
required: true
slack_webhook_url:
description: 'Your slack webhook url'
required: true
channel:
description: 'Override the default channel configured by the SLACK_WEBHOOK_URL'
required: false
name:
description: 'Override the default name configured by the Slack SLACK_WEBHOOK_URL'
required: false
icon_emoji:
description: 'Override the default webhook icon with an emoji. Uses emoji code: https://www.webfx.com/tools/emoji-cheat-sheet/'
required: false
icon_url:
description: 'Override the default webhook icon with an image via url.'
required: false
include_jobs:
description: 'Should the slack notification include individual job status and run times'
required: true
default: "true"
include_commit_message:
description: 'Should the slack notification include the head commit message'
required: true
default: "false"
runs:
using: 'node12'
main: 'dist/index.js'