Skip to content

Commit 7864986

Browse files
committed
Initialize project
1 parent 3ad7a79 commit 7864986

File tree

6 files changed

+8482
-0
lines changed

6 files changed

+8482
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
insert_final_newline = false

action.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: 'Annotate Action'
2+
branding:
3+
icon: 'mail'
4+
color: 'gray-dark'
5+
author: 'Guillaume Grossetie'
6+
description: 'Sends a message to Zulip'
7+
inputs:
8+
username:
9+
description: 'Username used to interact with the Zulip API.'
10+
required: true
11+
api-key:
12+
description: 'API key used to interact with the Zulip API. Only required if password is not defined.'
13+
required: false
14+
password:
15+
description: 'Password used to interact with the Zulip API. Only required if api-key is not defined, ignored otherwise.'
16+
required: false
17+
organization-url:
18+
description: 'Zulip organization canonical URL.'
19+
required: true
20+
to:
21+
description: 'For stream messages, either the name or integer ID of the stream. For private messages, either a list containing integer user IDs or a list containing string email addresses.'
22+
required: true
23+
type:
24+
description: 'The type of message to be sent. private for a private message and stream for a stream message. Must be one of: private, stream.'
25+
required: true
26+
topic:
27+
description: 'The topic of the message. Only required for stream messages (type="stream"), ignored otherwise. Maximum length of 60 characters.'
28+
required: false
29+
content:
30+
description: 'The content of the message. Maximum message size of 10000 bytes.'
31+
required: true
32+
runs:
33+
using: 'node12'
34+
main: 'dist/index.js'

0 commit comments

Comments
 (0)