From 9f32c9280f59c9a5f32a370e21f4f70ce0e355e8 Mon Sep 17 00:00:00 2001 From: Larch-C Date: Sat, 2 Aug 2025 14:16:19 +0800 Subject: [PATCH] chore: update and rename PLUGIN_PUBLISH.md to PLUGIN_PUBLISH.yml (#2289) --- .github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.md | 31 ------------- .github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml | 56 +++++++++++++++++++++++ 2 files changed, 56 insertions(+), 31 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.md create mode 100644 .github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml diff --git a/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.md b/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.md deleted file mode 100644 index 0358a5b2..00000000 --- a/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: '🥳 发布插件' -title: "[Plugin] 插件名" -about: 提交插件到插件市场 -labels: [ "plugin-publish" ] -assignees: '' - ---- - -欢迎发布插件到插件市场! - -## 插件基本信息 - -请将插件信息填写到下方的 Json 代码块中。`tags`(插件标签)和 `social_link`(社交链接)选填。 - -```json -{ - "name": "插件名", - "desc": "插件介绍", - "author": "作者名", - "repo": "插件仓库链接", - "tags": [], - "social_link": "" -} -``` - -## 检查 - -- [ ] 我的插件经过完整的测试 -- [ ] 我的插件不包含恶意代码 -- [ ] 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。 diff --git a/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml b/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml new file mode 100644 index 00000000..7957178c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml @@ -0,0 +1,56 @@ +name: 🥳 发布插件 +description: 提交插件到插件市场 +title: "[Plugin] 插件名" +labels: ["plugin-publish"] +assignees: [] +body: + - type: markdown + attributes: + value: | + 欢迎发布插件到插件市场! + + - type: markdown + attributes: + value: | + ## 插件基本信息 + + 请将插件信息填写到下方的 JSON 代码块中。其中 `tags`(插件标签)和 `social_link`(社交链接)选填。 + + 不熟悉 JSON ?现在可以从 [这里](https://plugins.astrbot.app/#/submit) 获取你的 JSON 啦!获取到了记得复制粘贴过来哦! + + - type: textarea + id: plugin-info + attributes: + label: 插件信息 + description: 请在下方代码块中填写您的插件信息,确保反引号包裹了JSON + value: | + ```json + { + "name": "插件名", + "desc": "插件介绍", + "author": "作者名", + "repo": "插件仓库链接", + "tags": [], + "social_link": "" + } + ``` + validations: + required: true + + - type: markdown + attributes: + value: | + ## 检查 + + - type: checkboxes + id: checks + attributes: + label: 插件检查清单 + description: 请确认以下所有项目 + options: + - label: 我的插件经过完整的测试 + required: true + - label: 我的插件不包含恶意代码 + required: true + - label: 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。 + required: true