From 730b8e7a329436b14226f24bc9c1701e3d1d39c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=93=E6=9B=A6=E6=9C=AA=E5=A4=AE=E4=B8=B6?= Date: Tue, 3 Dec 2024 17:19:36 +0800 Subject: [PATCH] Delete .github/workflows/check-releases.yml --- .github/workflows/check-releases.yml | 33 ---------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/check-releases.yml diff --git a/.github/workflows/check-releases.yml b/.github/workflows/check-releases.yml deleted file mode 100644 index d01680e..0000000 --- a/.github/workflows/check-releases.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: 检查Github仓库Release是否有更新 - -on: - schedule: - # 每天 UTC 时间 09:00 运行一次,可以根据需要调整 - - cron: "0 9 * * *" - workflow_dispatch: # 允许手动触发工作流程 - -jobs: - check-releases: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" # 指定需要的 Python 版本 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run release checker - id: release_checker - env: - GITHUB_TOKEN: ${{ secrets.REPOS_TOKEN }} - REPOS: ${{ secrets.REPOS }} # 将 REPOS 环境变量传递给 Python 脚本 - run: | - python scripts/checkReleases.py