diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..0007e5f --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,59 @@ +name: Check dlgt7/TVbox-interface Fork Updates + +on: + schedule: + - cron: '0 * * * *' # 每小时运行一次 + workflow_dispatch: # 支持手动触发 + +jobs: + check-forks: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Install dependencies + run: pip install requests PyGithub + + - name: Run Fork Update Checker + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + python <