From c5976210d2e2abb9dce76679e5c7fceeaccb3c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=B0=E9=A3=8E=E4=B9=A0=E4=B9=A0?= <25678988+xfxx2022@users.noreply.github.com> Date: Tue, 14 Jul 2026 09:43:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AD=BE=E5=88=B0?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=97=B6=E9=97=B4=E4=B8=BA=E5=8C=97=E4=BA=AC?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=AF=8F=E5=A4=A9=2008:00-10:00=20=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ".github/workflows/\347\255\276\345\210\260.yml" | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git "a/.github/workflows/\347\255\276\345\210\260.yml" "b/.github/workflows/\347\255\276\345\210\260.yml" index 761a68c4..23ff1e69 100644 --- "a/.github/workflows/\347\255\276\345\210\260.yml" +++ "b/.github/workflows/\347\255\276\345\210\260.yml" @@ -2,14 +2,20 @@ name: 签到 on: workflow_dispatch: schedule: - - cron: '10 17 * * *' + - cron: '0 0 * * *' permissions: contents: read jobs: run: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 150 steps: + - name: 随机延迟(仅定时触发,落在北京时间 08:00-10:00) + if: ${{ github.event_name == 'schedule' }} + run: | + DELAY=$(( RANDOM % 121 )) + echo "随机延迟 ${DELAY} 分钟,预计北京时间 08:00 后约 ${DELAY} 分触发签到" + sleep ${DELAY}m - name: 检出仓库 uses: actions/checkout@v4 - name: 创建 Node 环境 From c2c3e69601e9e207318f4c780c4fbe595d3a705b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=B0=E9=A3=8E=E4=B9=A0=E4=B9=A0?= <25678988+xfxx2022@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:51:35 +0800 Subject: [PATCH 2/3] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=9A=84=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=20sleep=20=E4=BB=A5=E8=8A=82=E7=9C=81=20Actions=20?= =?UTF-8?q?=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 scheduled 触发的随机延迟步骤(原 DELAY=$((RANDOM%121)) 平均空耗 60 分钟/次) - 签到改为北京时间 08:00 准时执行,单次由 ~60+ 分钟降至约 5 分钟 - timeout-minutes 由 150 下调至 30,防止异常卡死持续占用额度 --- ".github/workflows/\347\255\276\345\210\260.yml" | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git "a/.github/workflows/\347\255\276\345\210\260.yml" "b/.github/workflows/\347\255\276\345\210\260.yml" index 23ff1e69..4db6a7fa 100644 --- "a/.github/workflows/\347\255\276\345\210\260.yml" +++ "b/.github/workflows/\347\255\276\345\210\260.yml" @@ -8,14 +8,8 @@ permissions: jobs: run: runs-on: ubuntu-latest - timeout-minutes: 150 + timeout-minutes: 30 steps: - - name: 随机延迟(仅定时触发,落在北京时间 08:00-10:00) - if: ${{ github.event_name == 'schedule' }} - run: | - DELAY=$(( RANDOM % 121 )) - echo "随机延迟 ${DELAY} 分钟,预计北京时间 08:00 后约 ${DELAY} 分触发签到" - sleep ${DELAY}m - name: 检出仓库 uses: actions/checkout@v4 - name: 创建 Node 环境 From ef74ba06407ff098367330c2e55becb7eda2a50b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 02:04:01 +0000 Subject: [PATCH 3/3] chore: keepalive at 2026-08-01 --- .github/KEEPALIVE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/KEEPALIVE.md b/.github/KEEPALIVE.md index 88832eef..9ebc81e8 100644 --- a/.github/KEEPALIVE.md +++ b/.github/KEEPALIVE.md @@ -2,9 +2,9 @@ This file is automatically updated to keep the repository active. -**Last Update:** 2026-07-11 06:29:05 UTC -**Workflow Run:** #1 -**Trigger:** workflow_dispatch +**Last Update:** 2026-08-01 02:04:01 UTC +**Workflow Run:** #2 +**Trigger:** schedule --- *Auto-generated by [仓库保活 workflow](.github/workflows/仓库保活.yml)*