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:
Harry
2025-10-10 18:49:00 +08:00
parent ec9bb73fbe
commit fa3af0641d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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}"