-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
34 lines (34 loc) · 896 Bytes
/
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
name: Create GitHub Discussion
description: GitHub Action to create a new GitHub Discussion
inputs:
title:
description: |
The title of the new discussion.
required: true
body:
description: |
The body of the new discussion.
required: false
body-filepath:
description: |
The path to a file containing the body of the new discussion (takes precedence over body).
required: false
repository-id:
description: |
The ID of a repository in which to create the discussion.
required: true
category-id:
description: |
The ID of a `DiscussionCategory` within this repository.
required: true
outputs:
discussion-id:
description: ID of the created discussion
discussion-url:
description: URL of the created discussion
runs:
using: node20
main: dist/index.js
branding:
icon: message-circle
color: purple