-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
27 lines (24 loc) · 904 Bytes
/
action.yaml
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
name: slack-notification-action
description: Notify the current workflow run to a Slack channel
inputs:
slack-channel-id:
description: ID of the Slack channel
required: true
slack-app-token:
description: Bot token of Slack App
required: true
github-token:
description: GitHub token (optional)
required: true
default: ${{ github.token }}
github-job-status:
default: ${{ job.status }}
description: The current status of the job. Possible values are success, failure, or cancelled.
deprecationMessage: Do not set github-job-status. Keep the default value.
lost-communication-error-message:
description: Message to send when "The self-hosted runner lost communication with the server" error
required: true
default: The job was failed due to an infrastructure problem. Please rerun it if needed.
runs:
using: 'node20'
main: 'dist/index.js'