-
Notifications
You must be signed in to change notification settings - Fork 45
/
action.yml
40 lines (40 loc) · 1.32 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
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"
jobs_to_fetch:
description: 'Number of jobs to fetch (for workflows with big number of jobs)'
required: false
default: '30'
runs:
using: 'node20'
main: 'dist/index.js'