mirror of
https://github.com/cft0808/edict.git
synced 2026-09-06 17:09:57 +08:00
Bug 修复: - Fix #232: court_discuss.py 添加 from __future__ import annotations 兼容 Python 3.9 - Fix #233: Dockerfile 添加 channels 模块 COPY 解决 Docker 运行时 ModuleNotFoundError - Fix #234: sync_agent_config.py 将 dispatchChannel 默认值从 'feishu' 改为空字符串 - Fix #241: sync_agent_config.py 收集 defaults.models 中的所有可用模型到看板选择器 社区贡献 (cherry-pick): - PR #239 (@ElninoZhong): 添加 workflow state vs execution ownership 文档 - PR #237 (@ElninoZhong): 修复 feishu 默认值问题 - PR #212 (@YIOYIOIOI): Windows install.ps1 优先 python 命令 + UTF-8 编码修复 依赖更新 (Dependabot): - actions/checkout v4 → v6 - docker/setup-buildx-action v3 → v4 - docker/build-push-action v5 → v7 - actions/labeler v5 → v6 - actions/stale v9 → v10
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
name: Stale Issues & PRs
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * 1' # 每周一 UTC 02:00
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v10
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# Issue 配置
|
|
days-before-stale: 60
|
|
days-before-close: 30
|
|
stale-issue-label: "stale"
|
|
stale-issue-message: >
|
|
📜 此 Issue 已超过 60 天没有活动。
|
|
如果问题仍然存在,请回复更新状态;否则此 Issue 将在 30 天后自动关闭。
|
|
感谢你的贡献!
|
|
close-issue-message: >
|
|
🏛️ 此 Issue 因长期无活动已自动关闭。
|
|
如需重新讨论,欢迎随时重新打开或创建新 Issue。
|
|
exempt-issue-labels: "P0-critical,P1-important,good first issue,help wanted,pinned"
|
|
|
|
# PR 配置
|
|
days-before-pr-stale: 30
|
|
days-before-pr-close: 14
|
|
stale-pr-label: "stale"
|
|
stale-pr-message: >
|
|
📜 此 PR 已超过 30 天没有活动。
|
|
如果仍计划继续,请更新代码或回复说明进度;否则将在 14 天后自动关闭。
|
|
close-pr-message: >
|
|
🏛️ 此 PR 因长期无活动已自动关闭。
|
|
如果你想继续这项工作,欢迎重新打开。
|
|
exempt-pr-labels: "P0-critical,P1-important,work-in-progress"
|
|
|
|
# 通用配置
|
|
operations-per-run: 30
|
|
ascending: true
|
|
remove-stale-when-updated: true
|