Skip to content

Commit 1531151

Browse files
committed
Fix action.yaml
1 parent 0cc4849 commit 1531151

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

action.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ inputs:
3434
description: 'Enable AI-powered label suggestions for issues'
3535
required: false
3636
default: 'false' # Default is false, but you must enable if you want to use this action
37+
repository_owner:
38+
description: 'Repository owner'
39+
required: true
40+
default: ${{ github.repository_owner }}
41+
repository_name:
42+
description: 'Repository name'
43+
required: true
44+
default: ${{ github.event.repository.name }}
45+
event_path:
46+
description: 'GitHub event path'
47+
required: true
48+
default: ${{ github.event_path }}
3749

3850
runs:
3951
using: 'docker'
@@ -45,6 +57,6 @@ runs:
4557
CLAUDE_API_KEY: ${{ inputs.claude_api_key }}
4658
ENABLE_COMMENT: ${{ inputs.enable_comment }}
4759
ENABLE_LABEL: ${{ inputs.enable_label }}
48-
TARGET_REPO_OWNER: ${{ github.repository_owner }}
49-
TARGET_REPO_NAME: ${{ github.event.repository.name }}
50-
GITHUB_EVENT_PATH: ${{ github.event_path }}
60+
TARGET_REPO_OWNER: ${{ inputs.repository_owner }}
61+
TARGET_REPO_NAME: ${{ inputs.repository_name }}
62+
GITHUB_EVENT_PATH: ${{ inputs.event_path }}

0 commit comments

Comments
 (0)