-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 1.08 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
name: "Issues and Discussions Comments"
description: "Fetches comments from GitHub Issues and Discussions and saves them as JSON files."
author: "weekdaycare"
inputs:
github_repo:
description: 'GitHub repository in the format user/repo'
required: true
github_token:
description: 'GitHub token for authentication'
required: true
issue_enable:
description: 'Enable fetching issue comments'
required: false
default: 'false'
discussion_enable:
description: 'Enable fetching discussion comments'
required: false
default: 'false'
category_id:
description: 'Discussion category ID'
required: false
limit:
description: 'Number of comments to fetch'
required: false
default: '10'
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITHUB_REPO: ${{ inputs.GITHUB_REPO }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
ISSUE_ENABLE: ${{ inputs.issue_enable }}
DISCUSSION_ENABLE: ${{ inputs.discussion_enable }}
CATEGORY_ID: ${{ inputs.category_id }}
LIMIT: ${{ inputs.limit }}
branding:
icon: 'message-circle'
color: 'orange'