feat: add scheduled workflow to automatically close stale issues and pull requests#52
Merged
chenyme merged 4 commits intolinux-do:masterfrom Jul 4, 2025
OrenZhang:chore_copilot
Merged
feat: add scheduled workflow to automatically close stale issues and pull requests#52chenyme merged 4 commits intolinux-do:masterfrom OrenZhang:chore_copilot
chenyme merged 4 commits intolinux-do:masterfrom
OrenZhang:chore_copilot
Conversation
There was a problem hiding this comment.
Pull Request Overview
本 PR 新增了一个定时工作流,用于每天自动检测并关闭长时间未更新的 Issue 和 PR。
主要改动:
- 在
.github/workflows下添加新的close_ticket.yml - 配置每日定时触发(cron)
- 使用
actions/stale@v9插件并自定义停滞和关闭消息
Comments suppressed due to low confidence (2)
.github/workflows/close_ticket.yml:25
- 参数
if-no-issue-labels并非 actions/stale@v9 文档中支持的输入项,建议确认插件最新参数名称(如skip-issue-labels或only-labels等)并进行调整。
if-no-issue-labels: ''
.github/workflows/close_ticket.yml:15
- [nitpick] 为保证版本稳定性,建议将
actions/stale@v9固定到具体次要版本(例如actions/[email protected]),以便在插件发布新版本时避免意外变更。
- uses: actions/stale@v9
chenyme
approved these changes
Jul 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
例行检查
变更内容
添加自动关闭不活跃的 ISSUE 和 PR 的 Action