update
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ':bug: bug'
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
#### Make sure
|
||||
- [ ] Upgrade the latest [release](https://github.com/fluid-dev/hexo-theme-fluid/releases).
|
||||
- [ ] It can be replicated through `hexo clean && hexo s` and cleared browser cache in the localhost.
|
||||
- [ ] Not affected by other Hexo plugins
|
||||
|
||||
#### Describe the bug
|
||||
<!-- A clear and concise description of what the bug is. -->
|
||||
<!-- It is better to provide related items of _config.yml -->
|
||||
|
||||
#### To Reproduce
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...', click on '....'
|
||||
2. Scroll down to '....'
|
||||
3. See error
|
||||
|
||||
<!-- It is better to provide the page link that can be reproduced -->
|
||||
|
||||
#### Screenshots
|
||||
<!-- For front page problems, please provide a screenshot of your browser console -->
|
||||
<!-- For hexo command problems, please provide a screenshot of your command console -->
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
name: Bug 报告
|
||||
about: 创建一份 Bug 报告帮助我们优化产品
|
||||
title: ''
|
||||
labels: ':bug: bug'
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
<!-- 必读 -->
|
||||
<!-- 1. 反馈 Bug 必须按照本模板提供足够详细的复现步骤和相关配置,否则请后退使用问题求助 -->
|
||||
<!-- 2. 功能如果不正常工作,请先检查自己的环境和 Hexo 插件,特别是从其他主题更换过来的用户 -->
|
||||
<!-- 3. 前端页面问题,请先打开浏览器控制台(Console),自行尝试理解和解决其中的报错,确认非网络或配置问题 -->
|
||||
<!-- 4. 如果本地页面正常,部署后有问题,请清除缓存或者耐心等待 CDN 刷新(可能持续数小时),这不属于主题问题 -->
|
||||
|
||||
#### 请确认
|
||||
- [ ] 是当前最新的 [Release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases)
|
||||
- [ ] 本地 `hexo clean && hexo s`,并且清除浏览器缓存,仍可复现
|
||||
- [ ] 已经排除是其他 Hexo 插件影响
|
||||
|
||||
#### Bug 描述
|
||||
<!-- 例如,当 xxx 时,xxx 功能不工作,期望是 xxx 能工作,浏览器: Chrome -->
|
||||
<!-- 如果涉及一些功能配置,最好提供 _config.yml 里相关配置项 -->
|
||||
|
||||
#### 复现步骤
|
||||
该 Bug 复现步骤如下:
|
||||
1. 在 xxx 页面点击 xxx 按钮
|
||||
2. 然后向下滚动
|
||||
3. 会出现 xxx
|
||||
|
||||
<!-- 最好提供部署后能复现的页面地址 -->
|
||||
|
||||
#### 截图
|
||||
<!-- 前端页面问题请提供浏览器控制台(Console)的截图 -->
|
||||
<!-- 本地 hexo 命令中报错问题请提供命令行的截图 -->
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ':sparkles: enhancement'
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
#### Make sure
|
||||
- [ ] Difficult to implemented through [custom](https://hexo.fluid-dev.com/docs/en/guide/#custom-js-css-html).
|
||||
- [ ] Difficult to implemented through third-party plugins.
|
||||
|
||||
#### Is your feature request related to a problem? Please describe
|
||||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]. -->
|
||||
|
||||
#### Describe the solution you'd like
|
||||
<!-- A clear and concise description of what you want to happen. -->
|
||||
|
||||
#### Describe alternatives you've considered
|
||||
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: 功能需求或优化
|
||||
about: 创建一份合理可行的建议帮助我们提升产品
|
||||
title: ''
|
||||
labels: ':sparkles: enhancement'
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
#### 如是功能需求,请确定符合以下情况
|
||||
- [ ] 难以通过[自定义](https://hexo.fluid-dev.com/docs/guide/#自定义-js-css-html)实现
|
||||
- [ ] 难以通过第三方插件实现
|
||||
|
||||
#### 请描述该需求尝试解决的问题
|
||||
<!-- 例如,当 xxx 时,我总是被当前 xxx 的设计所困扰。 -->
|
||||
|
||||
#### 请描述您认为可行的解决方案
|
||||
<!-- 例如,添加 xxx 功能能够解决问题。 -->
|
||||
|
||||
#### 考虑过的替代方案
|
||||
<!-- 例如,如果用 xxx,也能解决该问题。 -->
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: Question
|
||||
about: Ask a question about use, need help
|
||||
---
|
||||
|
||||
#### Make sure
|
||||
- [ ] Upgrade the latest [release](https://github.com/fluid-dev/hexo-theme-fluid/releases)
|
||||
- [ ] No solution found in [documentations](https://hexo.fluid-dev.com/docs/en/)
|
||||
|
||||
#### Describe the question
|
||||
<!-- A clear and concise description of what the question is. -->
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: 问题求助
|
||||
about: 提出一个使用过程中遇到的问题,需要得到帮助
|
||||
---
|
||||
|
||||
<!-- 必读 -->
|
||||
<!-- 1. 功能如果不正常工作,请先检查自己的环境和 Hexo 插件,特别是从其他主题更换过来的用户 -->
|
||||
<!-- 2. 前端页面问题,请先打开浏览器控制台(Console),自行尝试理解和解决其中的报错,确认非网络或配置问题 -->
|
||||
<!-- 3. 如果本地页面正常,部署后有问题,请清除缓存或者耐心等待 CDN 刷新(可能持续数小时),这不属于主题问题 -->
|
||||
|
||||
#### 请确认
|
||||
- [ ] 是当前最新的 [Release 版本](https://github.com/fluid-dev/hexo-theme-fluid/releases)
|
||||
- [ ] 在 [用户指南](https://hexo.fluid-dev.com/docs/) 中没有找到解决办法
|
||||
|
||||
#### 问题描述
|
||||
<!--
|
||||
例如,在使用 xxx 时出现了 xxx 报错。
|
||||
如果是页面问题,需要提供浏览器版本(如果本地样式没问题,部署后有问题,请清除浏览器缓存)。
|
||||
-->
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
name: Limit PRs
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
limit_master_pr:
|
||||
runs-on: ubuntu-latest
|
||||
name: Limits PR to master
|
||||
steps:
|
||||
- name: Limit action step
|
||||
id: limit_action
|
||||
uses: LukBukkit/action-pr-limits@v1
|
||||
with:
|
||||
whitelist: |
|
||||
develop
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
name: Publish Package
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
Reference in New Issue
Block a user