mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 09:38:23 +08:00
✨ Feature: 插件商店适配最新的插件元数据 (#2094)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
3a9e800a58
commit
bdd17b62cc
36
.github/ISSUE_TEMPLATE/plugin_publish.yml
vendored
36
.github/ISSUE_TEMPLATE/plugin_publish.yml
vendored
@ -3,22 +3,6 @@ title: "Plugin: {name}"
|
|||||||
description: 发布插件到 NoneBot 官方商店
|
description: 发布插件到 NoneBot 官方商店
|
||||||
labels: ["Plugin"]
|
labels: ["Plugin"]
|
||||||
body:
|
body:
|
||||||
- type: input
|
|
||||||
id: name
|
|
||||||
attributes:
|
|
||||||
label: 插件名称
|
|
||||||
description: 插件名称
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: 插件描述
|
|
||||||
description: 插件描述
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: pypi
|
id: pypi
|
||||||
attributes:
|
attributes:
|
||||||
@ -37,15 +21,6 @@ body:
|
|||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: homepage
|
|
||||||
attributes:
|
|
||||||
label: 插件项目仓库/主页链接
|
|
||||||
description: 插件项目仓库/主页链接
|
|
||||||
placeholder: e.g. https://github.com/xxx/xxx
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: tags
|
id: tags
|
||||||
attributes:
|
attributes:
|
||||||
@ -55,3 +30,14 @@ body:
|
|||||||
value: "[]"
|
value: "[]"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: config
|
||||||
|
attributes:
|
||||||
|
label: 插件配置项
|
||||||
|
description: 插件配置项
|
||||||
|
render: dotenv
|
||||||
|
placeholder: |
|
||||||
|
# e.g.
|
||||||
|
# KEY=VALUE
|
||||||
|
# KEY2=VALUE2
|
||||||
|
2
.github/workflows/noneflow.yml
vendored
2
.github/workflows/noneflow.yml
vendored
@ -40,6 +40,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
result: ${{ steps.plugin-test.outputs.RESULT }}
|
result: ${{ steps.plugin-test.outputs.RESULT }}
|
||||||
output: ${{ steps.plugin-test.outputs.OUTPUT }}
|
output: ${{ steps.plugin-test.outputs.OUTPUT }}
|
||||||
|
metadata: ${{ steps.plugin-test.outputs.METADATA }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
if: ${{ !startsWith(github.event_name, 'pull_request') }}
|
if: ${{ !startsWith(github.event_name, 'pull_request') }}
|
||||||
@ -84,5 +85,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
PLUGIN_TEST_RESULT: ${{ needs.plugin_test.outputs.result }}
|
PLUGIN_TEST_RESULT: ${{ needs.plugin_test.outputs.result }}
|
||||||
PLUGIN_TEST_OUTPUT: ${{ needs.plugin_test.outputs.output }}
|
PLUGIN_TEST_OUTPUT: ${{ needs.plugin_test.outputs.output }}
|
||||||
|
PLUGIN_TEST_METADATA: ${{ needs.plugin_test.outputs.metadata }}
|
||||||
APP_ID: ${{ secrets.APP_ID }}
|
APP_ID: ${{ secrets.APP_ID }}
|
||||||
PRIVATE_KEY: ${{ secrets.APP_KEY }}
|
PRIVATE_KEY: ${{ secrets.APP_KEY }}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user