feat: update bug report and feature request templates

This commit is contained in:
harry
2025-05-13 16:10:53 +08:00
parent a789fe7e9a
commit 235362b044
3 changed files with 2 additions and 38 deletions

View File

@@ -1,7 +1,6 @@
name: 🐛 Bug | Bug Report
description: 报告错误或异常问题 | Report an error or unexpected behavior
title:
default: "[Bug] Something is not working"
title: "[Bug]: "
labels:
- bug

View File

@@ -1,8 +1,6 @@
name: ✨ 增加功能 | Feature Request
description: 为此项目提出一个新想法或建议 | Suggest a new idea for this project
title:
default: "[Feature] Idea for new feature"
title: "[Feature]: "
labels:
- enhancement

View File

@@ -1,33 +0,0 @@
name: gp-pages
on:
push:
branches:
- main
paths:
- 'sites/**'
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set-up Node
uses: actions/setup-node@v1
with:
node-version: "18.15.0"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm i
working-directory: ./sites
- name: Build gh-pages
run: pnpm docs:build
working-directory: ./sites
- name: Deploy to gh-pages
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: sites/docs/.vuepress/dist
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}