Matrix-Chat-Message/action.yml

27 lines
717 B
YAML

name: 'Matrix Chat Message'
description: 'Send a message to a Matrix channel'
branding:
icon: 'message-circle'
color: 'green'
inputs:
token:
description: 'Access token for the account to use'
required: true
homeserver:
description: 'Homeserver of the account to use'
required: true
default: 'https://matrix.org'
channel:
description: 'The internal room ID of the channel to send the message to'
required: true
message:
description: 'The message you want to send'
required: true
status:
description: "Job status. Should be bound to job.status. Default to success."
required: false
default: ${{ job.status }}
runs:
using: 'node12'
main: 'dist/index.js'