-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
62 lines (58 loc) · 1.95 KB
/
action.yml
File metadata and controls
62 lines (58 loc) · 1.95 KB
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
name: 'Issue Assistant'
description: 'AI-powered GitHub Issue assistant that analyzes issues and provides intelligent responses using GPT-4 or Claude'
author: 'workflowkit'
# Categories for GitHub Marketplace
categories:
- 'AI'
- 'Code Review'
- 'Issue Management'
branding:
icon: 'check-circle'
color: 'purple'
inputs:
github_token:
description: 'GitHub token with repo scope'
required: true
ai_type:
description: 'AI model type (openai/claude)'
required: true
default: 'openai'
openai_api_key:
description: 'OpenAI API Key (required if ai_type is openai)'
required: false
claude_api_key:
description: 'Anthropic Claude API Key (required if ai_type is claude)'
required: false
enable_comment:
description: 'Enable AI-powered code analysis comments on issues'
required: false
default: 'false' # Default is false, but you must enable if you want to use this action
enable_label:
description: 'Enable AI-powered label suggestions for issues'
required: false
default: 'false' # Default is false, but you must enable if you want to use this action
repository_owner:
description: 'Repository owner'
required: true
default: ${{ github.repository_owner }}
repository_name:
description: 'Repository name'
required: true
default: ${{ github.event.repository.name }}
event_path:
description: 'GitHub event path'
required: true
default: ${{ github.event_path }}
runs:
using: 'docker'
image: 'docker://ghcr.io/workflowkit/issue-assistant:v1.0.0'
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
AI_TYPE: ${{ inputs.ai_type }}
OPENAI_API_KEY: ${{ inputs.openai_api_key }}
CLAUDE_API_KEY: ${{ inputs.claude_api_key }}
ENABLE_COMMENT: ${{ inputs.enable_comment }}
ENABLE_LABEL: ${{ inputs.enable_label }}
TARGET_REPO_OWNER: ${{ inputs.repository_owner }}
TARGET_REPO_NAME: ${{ inputs.repository_name }}
GITHUB_EVENT_PATH: ${{ inputs.event_path }}