summaryrefslogtreecommitdiff
path: root/.github/workflows/daily_papers.yml
diff options
context:
space:
mode:
authorblackhao <13851610112@163.com>2025-03-29 06:57:21 -0500
committerblackhao <13851610112@163.com>2025-03-29 06:57:21 -0500
commit0fdfd231ba18681b45a31056871c6634aea921b3 (patch)
treec0356e4fc4bb3095b76f82bc45d8183b2e8392cd /.github/workflows/daily_papers.yml
parent3ce5234a0b3d898ebca45d5cb3b820c5c39b9830 (diff)
fix bugs in action
Diffstat (limited to '.github/workflows/daily_papers.yml')
-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