-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
63 lines (63 loc) · 1.71 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: 'IRC Message Action'
description: |
This action prints messages to an IRC Channel. Optionally waits for responses.
author: 'Enno Boland'
inputs:
server:
description: 'The hostname of the IRC server'
default: 'irc.libera.chat'
port:
description: 'The port number of the IRC server'
default: 6697
channel:
description: 'IRC channel that will receive the messages'
required: true
channel_key:
description: 'IRC channel password'
required: false
nickname:
description: 'IRC nickname'
required: true
sasl_password:
description: 'IRC SASL password'
required: false
message:
description: 'Message to send'
required: true
notice:
description: 'Use NOTICE instead of PRIVMSG'
default: false
required: false
tls:
description: 'Use TLS to connect to the IRC server'
default: true
required: false
response_allow_from:
description: 'Comma seperated list of authenticated accounts allowed to response to an action'
required: false
response_timeout:
description: 'Timeout to wait for a response in seconds'
default: 60
required: false
excess_flood:
description: |
Prevention strategy for excess flooding a channel Either "throttle" or "truncate".
* `truncate`: cuts off the message after 3 lines.
* `throttle`: sends only 1 line per second.
default: "throttle"
required: false
debug:
description: 'Enables verbose output.'
default: false
required: false
outputs:
response_from:
description: 'nickname of the responding user'
response:
description: 'Response written from an authenticated user'
runs:
using: 'node20'
main: 'app.js'
branding:
icon: 'hash'
color: 'gray-dark'