Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:wrench: lock-threads: run every 10 min temporarily to backfill history

Daniel41f2861c8757
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
index f02b6c75f9..596964e9e9 100644
--- a/.github/workflows/lock.yml
+++ b/.github/workflows/lock.yml
@@ -2,13 +2,17 @@ name: Lock closed issues and PRs
on:
schedule:
- - cron: "0 0 * * *" # 每天 UTC 00:00(北京时间 08:00)运行一次
+ - cron: "*/10 * * * *" # 每 10 分钟运行一次(临时高频,用于回扫历史存量,事后改回每日)
workflow_dispatch: # 允许手动触发,便于首次启用时回扫历史
permissions:
issues: write
pull-requests: write
+concurrency:
+ group: lock-threads
+ cancel-in-progress: false # 不取消正在跑的,避免回扫中途中断
+
jobs:
lock:
runs-on: ubuntu-latest