From 235362b044a26cf411856a04537f06bf78481a45 Mon Sep 17 00:00:00 2001 From: harry Date: Tue, 13 May 2025 16:10:53 +0800 Subject: [PATCH] feat: update bug report and feature request templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 3 +- .github/ISSUE_TEMPLATE/feature_request.yml | 4 +-- .github/workflows/gh-pages.yml | 33 ---------------------- 3 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 3c0e295..3e0e95f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 3571cb2..abd3045 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index 873f7f7..0000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -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 }}