chore: v0.6.0 baseline — 主题美化前存档
已实现:HTTP/TCP/Banner 探测、90 天可用率、表格/卡片视图、 数据源过滤、UptimeRobot 双向兼容、服务端驱动的刷新节奏、 刷新接口滥用防护与信息泄露控制。
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
name: probe
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# GitHub Actions 计划任务最小粒度为 5 分钟
|
||||
- cron: "*/5 * * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
probe:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: 执行一轮探测
|
||||
run: node prober/node/index.js --once
|
||||
|
||||
- name: 提交 status.json
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add public/status.json
|
||||
git diff --staged --quiet || git commit -m "chore: update status snapshot"
|
||||
git push
|
||||
Reference in New Issue
Block a user