mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-24 21:15:37 -04:00
chore: bump GitHub trigger plugin version to 1.1.2 and fix event naming
- Updated the version in manifest.yaml from 1.1.1 to 1.1.2.
- Changed the event naming in GithubTrigger class from 'issues_{action}' to 'issue_{action}' for consistency.
These changes ensure the plugin version is up-to-date and improve the clarity of event handling.
This commit is contained in:
@@ -34,4 +34,4 @@ resource:
|
||||
tags:
|
||||
- utilities
|
||||
type: plugin
|
||||
version: 1.1.1
|
||||
version: 1.1.2
|
||||
|
||||
@@ -49,7 +49,7 @@ class GithubTrigger(Trigger):
|
||||
event_type = event_type.lower()
|
||||
action: str | None = payload.get("action")
|
||||
if event_type == "issues":
|
||||
return f"issues_{action}"
|
||||
return f"issue_{action}"
|
||||
|
||||
if event_type == "issue_comments":
|
||||
return f"issue_comment_{action}"
|
||||
|
||||
Reference in New Issue
Block a user