chore: bump GitHub trigger plugin version to 1.2.1 and add time_range parameter

- Updated the version in manifest.yaml from 1.1.3 to 1.2.1.
- Added a new optional parameter 'time_range' in star_created.yaml to allow triggering based on a specified time range for stars.

These changes ensure the plugin is up-to-date and enhance the configurability of the star event trigger.
This commit is contained in:
Harry
2025-10-11 21:19:46 +08:00
parent b9ffc8334a
commit 8103c9e6ac
2 changed files with 12 additions and 1 deletions
@@ -17,6 +17,17 @@ description:
ja_JP: ユーザーが GitHub リポジトリにスターを付けたときにトリガーがアクティブになり、リポジトリとスターを付けたユーザーに関する情報を提供します。
parameters:
- name: time_range
label:
en_US: Time Range
zh_Hans: 时间范围
ja_JP: 時間範囲
type: string
required: false
description:
en_US: "Only trigger for stars in the last time range (e.g., 1h, 1d, 1w, 1m, 1y)"
zh_Hans: "仅对过去一段时间内的 star 操作触发(例如:1h, 1d, 1w, 1m, 1y"
ja_JP: "過去の時間範囲内のスターのみトリガー(例: 1h, 1d, 1w, 1m, 1y"
output_schema:
type: object
+1 -1
View File
@@ -34,4 +34,4 @@ resource:
tags:
- utilities
type: plugin
version: 1.1.3
version: 1.2.1