Add label trigger functionality to Claude Code Action

- introduced a new input parameter `label_trigger` in `action.yml` to allow triggering actions based on specific labels applied to issues.
- Enhanced the context preparation and event handling in the code to support the new labled event.
This commit is contained in:
tomoish
2025-06-17 00:32:12 +09:00
parent 3c748dc927
commit 90b0a15006
10 changed files with 182 additions and 2 deletions

View File

@@ -12,6 +12,10 @@ inputs:
assignee_trigger:
description: "The assignee username that triggers the action (e.g. @claude)"
required: false
label_trigger:
description: "The label that triggers the action (e.g. claude)"
required: false
default: "claude"
base_branch:
description: "The branch to use as the base/source when creating new branches (defaults to repository default branch)"
required: false