mirror of
https://gitee.com/houhuan/TrendRadar.git
synced 2025-12-21 16:17:17 +08:00
28 lines
858 B
YAML
28 lines
858 B
YAML
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" |