Scheduled Check and Trigger #105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scheduled Check and Trigger | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' # 每天运行一次,可按需修改 | |
| workflow_dispatch: {} | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Run check script | |
| env: | |
| # 读取仓库 secret pat | |
| GITHUB_PAT: ${{ secrets.pat }} | |
| run: | | |
| python3 check.py |