-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 1.23 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
name: Slack Webhook for GitHub Actions
description: Send notification to a slack channel about the status of the workflows
author: Blanca Ayala
inputs:
status:
required: false
description: 'The result of GitHub Actions job'
default: ${{ job.status }}
slack_webhook_url:
description: 'The Slack Webhook URL'
required: true
slack_channel:
description: 'The channel that receives the message. Override the default incoming Webhook Slack settings'
required: false
slack_username:
description: 'The name that send the message, example: Github. Override the default incoming Webhook Slack settings '
required: false
default: ${{ github.actor }}
gha_api_token:
description: 'The Github User API Token with access to the Workflow Repo.'
required: false
run_id:
description: 'The Github Actions Workflow Run ID'
required: false
default: ${{ github.run_id }}
notify_all:
description: 'If enabled it will send the slack notification with "@here" to notify all slack channel members'
required: false
default: "true"
report_link:
description: 'The link to the report'
required: false
runs:
using: node16
main: dist/index.js
branding:
color: green
icon: message-square