diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..c2750b95 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,42 @@ +> 感谢您支持fast-crud,请按如下规范提交issue +> 如果有条件,请尽量在[github上提交](https://github.com/fast-crud/fast-crud/issues) + + +## 一、问题描述 +`请在此处简要描述你所遇到的问题,必要时请贴出相关截图辅助理解和定位` + +### 复现步骤 +`请描述复现问题的详细步骤` +`如果非示例页面的问题,最好能提供最小复现示例的代码、或者仓库链接` + +### 代码截图 +`请贴出出错的相关代码截图` + +### 报错截图 +`请贴出报错日志截图` + +### 效果截图 +`请贴出效果截图` +#### 1. 期望效果 + +#### 2. 实际效果 + + +## 二、当前使用的库版本 +### 1. fast-crud版本: +`请您填写fast-crud的版本` +### 2. 使用的ui库以及版本 +`中括号中输入x即选中,或者删除其他,仅保留你正使用的ui库` +- [x] Antdv (版本?) +- [ ] ElementPlus(版本?) +- [ ] NaiveUI(版本?) + +### 3. 使用的admin框架 +`请您填写您当前使用的admin框架是哪一套` +- [x] fs-admin-antdv +- [ ] fs-admin-element +- [ ] fs-admin-naive +- [ ] fs-in-vben +- [ ] vben-admin +- [ ] cool-admin +- [ ] 其他:`请注明` \ No newline at end of file diff --git a/.github/workflows/sync-to-gitee.yml b/.github/workflows/sync-to-gitee.yml new file mode 100644 index 00000000..82401400 --- /dev/null +++ b/.github/workflows/sync-to-gitee.yml @@ -0,0 +1,35 @@ +name: sync-to-gitee +on: + push: + branches: ['v2'] + pull_request: + branches: ['v2'] +# schedule: +# - # 国际时间 19:17 执行,北京时间3:17 ↙↙↙ 改成你想要每天自动执行的时间 +# - cron: '17 19 * * *' +permissions: + contents: read + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout work repo # 1. 检出当前仓库(certd-sync-work) + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email + run: | + git config --global user.name "xiaojunnuo" + git config --global user.email "xiaojunnuo@qq.com" + + - name: Set git token # 3. 给git命令设置token,用于push到目标仓库 + uses: de-vri-es/setup-git-credentials@v2 + with: # token 格式为: username:password + credentials: https://${{secrets.PUSH_TOKEN_GITEE}}@gitee.com + + - name: push to gitee # 4. 执行同步 + run: | + git remote add upstream https://gitee.com/certd/certd + git push --set-upstream upstream v2 +