mirror of
https://github.com/1c7/chinese-independent-developer.git
synced 2026-08-16 18:13:28 +08:00
27 lines
819 B
YAML
27 lines
819 B
YAML
name: 处理大家提交的项目
|
|
on:
|
|
workflow_dispatch: # 已由 Claude Routine 接管自动处理,保留手动触发作为备用
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6.0.1
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v6.1.0
|
|
with:
|
|
python-version: '3.13'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install PyGithub openai
|
|
|
|
- name: Run script
|
|
env:
|
|
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
|
# 如果你用的不是 OpenAI 原生接口,可以设置这个环境变量,否则默认使用 OpenAI
|
|
LLM_BASE_URL: "https://api.deepseek.com"
|
|
run: python .github/scripts/process_item.py |