-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1.25 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
name: "Campsite GitHub Action"
description: "Create a post or comment on Campsite from your GitHub workflow."
branding:
icon: 'message-circle'
color: 'orange'
inputs:
api_key:
description: "Campsite API Key"
required: true
action_type:
description: "Action type ('create_post', 'create_comment', or 'create_message')"
required: true
default: "create_post"
content:
description: "Content of the post or comment"
required: true
title:
description: "Title of the post (required for posts)"
required: false
channel_id:
description: "Channel ID for the post (required for posts)"
required: false
post_id:
description: "Post ID for the comment (required for comments)"
required: false
parent_id:
description: "Parent comment ID for replies (optional)"
required: false
thread_id:
description: "Thread ID for the message (required for messages)"
required: false
outputs:
post_id:
description: "ID of the post (if creating a post)"
post_url:
description: "URL of the post (if creating a post)"
comment_id:
description: "ID of the comment (if creating a comment)"
message_id:
description: "ID of the message (if creating a message)"
runs:
using: "node20"
main: "dist/index.js"