mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-25 13:35:37 -04:00
b182fd2668
- Refactored `TriggerInvokeResponse` to use `Mapping[str, Any]` for event representation. - Renamed `properties` to `variables` in the `Event` class for clarity and updated the description accordingly. - Expanded the event options in the GitHub trigger configuration to allow selection of all events. - Removed the deprecated `issue_comment` trigger implementation and its associated files. - Bumped version in `manifest.yaml` to 0.0.9 to reflect these changes. These updates improve the flexibility and clarity of the GitHub trigger integration, allowing for a broader range of event handling.
72 lines
2.1 KiB
YAML
72 lines
2.1 KiB
YAML
identity:
|
|
name: workflow_dispatch
|
|
author: langgenius
|
|
label:
|
|
en_US: Workflow Dispatch
|
|
zh_Hans: 工作流调度
|
|
pt_BR: Workflow Disparado
|
|
|
|
description:
|
|
human:
|
|
en_US: Triggers when a workflow is manually dispatched
|
|
zh_Hans: 当a workflow manually dpatched时触发
|
|
pt_BR: Dispara quando a workflow manually dpatched
|
|
llm:
|
|
en_US: This trigger activates when a workflow is manually dispatched, providing relevant event information.
|
|
zh_Hans: 当a workflow manually dpatched时,此触发器会被激活,提供相关事件信息。
|
|
pt_BR: Este gatilho é ativado when a workflow is manually dispatched, fornecendo informações relevantes do evento.
|
|
|
|
parameters: []
|
|
|
|
output_schema:
|
|
type: object
|
|
properties:
|
|
repository:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
description: The repository name
|
|
full_name:
|
|
type: string
|
|
description: The full repository name (owner/repo)
|
|
html_url:
|
|
type: string
|
|
description: The repository URL
|
|
description:
|
|
type: string
|
|
description: The repository description
|
|
private:
|
|
type: boolean
|
|
description: Whether the repository is private
|
|
owner:
|
|
type: object
|
|
properties:
|
|
login:
|
|
type: string
|
|
description: Repository owner username
|
|
avatar_url:
|
|
type: string
|
|
description: Repository owner avatar URL
|
|
html_url:
|
|
type: string
|
|
description: Repository owner profile URL
|
|
sender:
|
|
type: object
|
|
properties:
|
|
login:
|
|
type: string
|
|
description: The username who triggered the event
|
|
avatar_url:
|
|
type: string
|
|
description: The avatar URL of the sender
|
|
html_url:
|
|
type: string
|
|
description: The profile URL of the sender
|
|
type:
|
|
type: string
|
|
description: The type of the sender (User, Bot, etc.)
|
|
|
|
extra:
|
|
python:
|
|
source: triggers/workflow_dispatch.py |