summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/daily_papers.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/daily_papers.yml b/.github/workflows/daily_papers.yml
index 94b93d2..b11867e 100644
--- a/.github/workflows/daily_papers.yml
+++ b/.github/workflows/daily_papers.yml
@@ -2,19 +2,19 @@ name: Daily Paper Fetch
on:
schedule:
- - cron: '0 12 * * *' # 每天UTC 12:00 触发
- workflow_dispatch: # 支持手动触发
+ - cron: '0 12 * * *'
+ workflow_dispatch:
jobs:
fetch-and-update-readme:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-latest # 或 ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: 3.10
+ python-version: '3.10'
- name: Install dependencies
run: |
@@ -22,6 +22,6 @@ jobs:
- name: Run script
env:
- TARGET_REPO_TOKEN: ${{ secrets.TARGET_REPO_TOKEN }} #
- TARGET_REPO_NAME: "YurenHao0426/llm-bias-papers" #
+ TARGET_REPO_TOKEN: ${{ secrets.TARGET_REPO_TOKEN }}
+ TARGET_REPO_NAME: "YurenHao0426/llm-bias-papers"
run: python scripts/fetch_papers.py