feat: update .github

pull/206/head
Yi Liu 2 years ago
parent f4422c3f58
commit 0987aa302d
  1. 13
      .github/ISSUE_TEMPLATE/反馈站点失效.md
  2. 11
      .github/ISSUE_TEMPLATE/添加镜像站点.md
  3. 86
      .github/workflows/convert_to_json.yml

@ -7,20 +7,15 @@ assignees: LiLittleCat
---
**---网址---**
### 网址
<!-- 此行下面写网址-->
<!-- 此行上面写网址-->
### 序号
**---序号---**
<!-- 此行下面写序号-->
<!-- 此行上面写序号-->
**---原因---**
### 原因
<!-- 将 [ ] 改为 [x] 即为选中 -->
- [ ] 🚫无法正常打开
- [ ] ❌功能异常
- [ ] 🤔其他:
- [ ] 🤔其他:

@ -7,24 +7,23 @@ assignees: LiLittleCat
---
**---网址---**
### 网址
<!-- 此行下面写网址-->
<!-- 此行上面写网址-->
**---属性(多选)---**
### 属性
<!-- 将 [ ] 改为 [x] 即为选中 -->
#### 基本属性(单选)
- [ ] 🆓完全免费,打开即用
- [ ] 🔓有免费额度
- [ ] 🔒需要登陆
- [ ] 🔑需要输入 API Key
- [ ] 💰需要充值
- [ ] 👀需要关注公众号
#### 扩展属性(多选)
- [ ] 💪支持 GPT4
- [ ] 🧰不仅仅是 Chat
- [ ] 🌎需要国际网络
**---附加信息---**
### 附加信息

@ -1,43 +1,43 @@
name: Run Python Script on Main Branch
on:
push:
branches:
- main
workflow_dispatch:
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Add any other dependencies your script requires here
- name: Run Python script
run: python convert.py
- name: Configure Git
run: |
git config --local user.email "luoyukongchan@outlook.com"
git config --local user.name "Yi Liu"
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}
- name: Commit and push JSON file
run: |
if git status --porcelain | grep -q "urls.json"; then
git add urls.json
git commit -m "Update urls.json"
git push
fi
#name: Run Python Script on Main Branch
#
#on:
# push:
# branches:
# - main
# workflow_dispatch:
#
#jobs:
# run_script:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: 3.8
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# # Add any other dependencies your script requires here
#
# - name: Run Python script
# run: python convert.py
#
# - name: Configure Git
# run: |
# git config --local user.email "luoyukongchan@outlook.com"
# git config --local user.name "Yi Liu"
# env:
# GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}
#
# - name: Commit and push JSON file
# run: |
# if git status --porcelain | grep -q "urls.json"; then
# git add urls.json
# git commit -m "Update urls.json"
# git push
# fi
Loading…
Cancel
Save