| 12345678910111213141516171819202122232425262728 |
- name: Check In
- # ✅ 签到续期:运行此 workflow 可重置 7 天计时,保持 "Get Hot News" 正常运行
- # ✅ Renewal: Run this workflow to reset the 7-day timer and keep "Get Hot News" active
- #
- # 📌 操作方法 / How to use:
- # 1. 点击 "Run workflow" 按钮 / Click "Run workflow" button
- # 2. 每 7 天内至少运行一次 / Run at least once every 7 days
- on:
- workflow_dispatch:
- jobs:
- del_runs:
- runs-on: ubuntu-latest
- permissions:
- actions: write
- contents: read
- steps:
- - name: Delete all workflow runs
- uses: Mattraks/delete-workflow-runs@v2
- with:
- token: ${{ github.token }}
- repository: ${{ github.repository }}
- retain_days: 0
- keep_minimum_runs: 0
- delete_workflow_by_state_pattern: "ALL"
- delete_run_by_conclusion_pattern: "ALL"
|