Skip to content

feat: config リポジトリに scheduled-maintenance workflow を配置 - #622

Merged
keito4 merged 1 commit into
mainfrom
feat/add-scheduled-maintenance-to-config
Mar 23, 2026
Merged

feat: config リポジトリに scheduled-maintenance workflow を配置#622
keito4 merged 1 commit into
mainfrom
feat/add-scheduled-maintenance-to-config

Conversation

@keito4

@keito4 keito4 commented Mar 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • テンプレートから scheduled-maintenance.yml.github/workflows/ にコピーし、config リポジトリ自体の定期メンテナンスを有効化
  • 動作確認のため workflow_dispatch で手動実行予定

Test plan

  • workflow_dispatch で手動実行し、Claude Code Action が起動することを確認

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added automated scheduled maintenance workflow that runs weekly on Mondays (06:00 UTC) and can be manually triggered with configurable maintenance modes. Automatically creates issues to report maintenance failures.

テンプレートから .github/workflows/ にコピーし、定期メンテナンスを有効化。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Mar 23, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

Adds a new GitHub Actions workflow file for scheduled repository maintenance. The workflow runs weekly on Mondays via cron schedule and supports manual triggering with mode selection. It invokes an external Claude-based action to execute maintenance tasks and creates tracking issues when failures occur.

Changes

Cohort / File(s) Summary
Scheduled Maintenance Workflow
.github/workflows/scheduled-maintenance.yml
New 95-line workflow configuration with weekly cron trigger (Mondays 06:00 UTC), workflow_dispatch support with optional mode parameter (full/quick/check-only), concurrency controls, 30-minute timeout, invocation of Claude code action for /repo-maintenance, and failure handling that creates a labeled maintenance issue.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

released

Poem

🐰 A schedule now set, the hutch runs so clean,
Each Monday at dawn, maintenance routine,
Claude hops to the rescue when things go awry,
Creating wee issues when tasks sadly die! 🔧✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding a scheduled-maintenance workflow to the config repository.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-scheduled-maintenance-to-config

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@keito4

keito4 commented Mar 23, 2026

Copy link
Copy Markdown
Owner Author

🔍 AI Code Review (Local Hook)

Models: Codex (default) / Gemini (default)

🤖 Codex Review

指摘事項は見つかりませんでした。

全体判定
patch is correct — 変更はスケジュール実行用のワークフロー追加のみで、権限や失敗時のフォールバックも整合しており、実行に必要な最小限の設定が満たされています。
信頼度: 0.62


🤖 Generated by post_pr_ai_review.py hook

@keito4 keito4 self-assigned this Mar 23, 2026
@keito4
keito4 merged commit 3ac46bd into main Mar 23, 2026
12 of 13 checks passed
@keito4
keito4 deleted the feat/add-scheduled-maintenance-to-config branch March 23, 2026 01:57
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.106.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released リリース済み

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant