Skip to content

Commit b8c044b

Browse files
authored
Reduce CI cleaner frequency from hourly to 2-3 hour intervals (#7424)
1 parent bc9f095 commit b8c044b

File tree

8 files changed

+32
-27
lines changed

8 files changed

+32
-27
lines changed

.github/workflows/dev.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/hourly-ci-cleaner.lock.yml

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/hourly-ci-cleaner.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
2-
description: Hourly CI cleaner that fixes format, lint, and test issues when CI fails on main branch
2+
description: CI cleaner that fixes format, lint, and test issues when CI fails on main branch. Runs every 2 hours during peak hours (9 AM - 5 PM UTC) and every 3 hours during off-peak hours to optimize token spend.
33
on:
44
schedule:
5-
- cron: "0 * * * *" # Every hour
5+
# Peak hours (9 AM - 5 PM UTC): Every 2 hours
6+
- cron: "0 9-17/2 * * *" # Runs at 9 AM, 11 AM, 1 PM, 3 PM, 5 PM UTC
7+
# Off-peak hours: Every 3 hours
8+
- cron: "0 0,3,6,18,21 * * *" # Runs at 12 AM, 3 AM, 6 AM, 6 PM, 9 PM UTC
69
workflow_dispatch:
710
permissions:
811
contents: read
@@ -84,9 +87,9 @@ imports:
8487
- ../agents/ci-cleaner.agent.md
8588
---
8689

87-
# Hourly CI Cleaner
90+
# CI Cleaner
8891

89-
You are an automated CI cleaner that runs hourly to fix CI failures on the main branch.
92+
You are an automated CI cleaner that runs periodically to fix CI failures on the main branch. The workflow runs every 2 hours during peak hours (9 AM - 5 PM UTC) and every 3 hours during off-peak hours to optimize token spend while maintaining CI health.
9093

9194
## Mission
9295

.github/workflows/issue-classifier.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.lock.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/stale-repo-identifier.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/super-linter.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/content/docs/labs.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ These are experimental agentic workflows used by the GitHub Next team to learn,
2727
| [Campaign Intelligence System](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/intelligence.md) | copilot | [![Campaign Intelligence System](https://github.com/githubnext/gh-aw/actions/workflows/intelligence.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/intelligence.lock.yml) | `0 9 1 * *` | - |
2828
| [Campaign Manager - Meta-Orchestrator](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/campaign-manager.md) | copilot | [![Campaign Manager - Meta-Orchestrator](https://github.com/githubnext/gh-aw/actions/workflows/campaign-manager.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/campaign-manager.lock.yml) | - | - |
2929
| [Changeset Generator](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/changeset.md) | codex | [![Changeset Generator](https://github.com/githubnext/gh-aw/actions/workflows/changeset.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/changeset.lock.yml) | - | - |
30+
| [CI Cleaner](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/hourly-ci-cleaner.md) | copilot | [![CI Cleaner](https://github.com/githubnext/gh-aw/actions/workflows/hourly-ci-cleaner.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/hourly-ci-cleaner.lock.yml) | `0 9-17/2 * * *` | - |
3031
| [CI Failure Doctor](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/ci-doctor.md) | copilot | [![CI Failure Doctor](https://github.com/githubnext/gh-aw/actions/workflows/ci-doctor.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/ci-doctor.lock.yml) | - | - |
3132
| [CI Optimization Coach](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/ci-coach.md) | copilot | [![CI Optimization Coach](https://github.com/githubnext/gh-aw/actions/workflows/ci-coach.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/ci-coach.lock.yml) | `0 13 * * 1-5` | - |
3233
| [CLI Consistency Checker](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/cli-consistency-checker.md) | copilot | [![CLI Consistency Checker](https://github.com/githubnext/gh-aw/actions/workflows/cli-consistency-checker.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/cli-consistency-checker.lock.yml) | `0 13 * * 1-5` | - |
@@ -71,7 +72,6 @@ These are experimental agentic workflows used by the GitHub Next team to learn,
7172
| [Go Logger Enhancement](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/go-logger.md) | claude | [![Go Logger Enhancement](https://github.com/githubnext/gh-aw/actions/workflows/go-logger.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/go-logger.lock.yml) | - | - |
7273
| [Go Pattern Detector](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/go-pattern-detector.md) | claude | [![Go Pattern Detector](https://github.com/githubnext/gh-aw/actions/workflows/go-pattern-detector.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/go-pattern-detector.lock.yml) | `0 14 * * 1-5` | - |
7374
| [Grumpy Code Reviewer 🔥](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/grumpy-reviewer.md) | copilot | [![Grumpy Code Reviewer 🔥](https://github.com/githubnext/gh-aw/actions/workflows/grumpy-reviewer.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/grumpy-reviewer.lock.yml) | - | - |
74-
| [Hourly CI Cleaner](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/hourly-ci-cleaner.md) | copilot | [![Hourly CI Cleaner](https://github.com/githubnext/gh-aw/actions/workflows/hourly-ci-cleaner.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/hourly-ci-cleaner.lock.yml) | `0 * * * *` | - |
7575
| [Human-AI Collaboration Campaign](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/human-ai-collaboration.md) | copilot | [![Human-AI Collaboration Campaign](https://github.com/githubnext/gh-aw/actions/workflows/human-ai-collaboration.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/human-ai-collaboration.lock.yml) | - | - |
7676
| [Instructions Janitor](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/instructions-janitor.md) | claude | [![Instructions Janitor](https://github.com/githubnext/gh-aw/actions/workflows/instructions-janitor.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/instructions-janitor.lock.yml) | - | - |
7777
| [Issue Arborist](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/issue-arborist.md) | codex | [![Issue Arborist](https://github.com/githubnext/gh-aw/actions/workflows/issue-arborist.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/issue-arborist.lock.yml) | - | - |
@@ -87,6 +87,7 @@ These are experimental agentic workflows used by the GitHub Next team to learn,
8787
| [Multi-Device Docs Tester](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/daily-multi-device-docs-tester.md) | claude | [![Multi-Device Docs Tester](https://github.com/githubnext/gh-aw/actions/workflows/daily-multi-device-docs-tester.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/daily-multi-device-docs-tester.lock.yml) | - | - |
8888
| [Organization Health Report](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/org-health-report.md) | copilot | [![Organization Health Report](https://github.com/githubnext/gh-aw/actions/workflows/org-health-report.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/org-health-report.lock.yml) | - | - |
8989
| [Plan Command](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/plan.md) | copilot | [![Plan Command](https://github.com/githubnext/gh-aw/actions/workflows/plan.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/plan.lock.yml) | - | - |
90+
| [Playground: Org project update issue](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/playground-org-project-update-issue.md) | copilot | [![Playground: Org project update issue](https://github.com/githubnext/gh-aw/actions/workflows/playground-org-project-update-issue.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/playground-org-project-update-issue.lock.yml) | - | - |
9091
| [Poem Bot - A Creative Agentic Workflow](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/poem-bot.md) | copilot | [![Poem Bot - A Creative Agentic Workflow](https://github.com/githubnext/gh-aw/actions/workflows/poem-bot.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/poem-bot.lock.yml) | - | - |
9192
| [PR Nitpick Reviewer 🔍](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/pr-nitpick-reviewer.md) | copilot | [![PR Nitpick Reviewer 🔍](https://github.com/githubnext/gh-aw/actions/workflows/pr-nitpick-reviewer.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/pr-nitpick-reviewer.lock.yml) | - | - |
9293
| [Python Data Visualization Generator](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/python-data-charts.md) | copilot | [![Python Data Visualization Generator](https://github.com/githubnext/gh-aw/actions/workflows/python-data-charts.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/python-data-charts.lock.yml) | - | - |

0 commit comments

Comments
 (0)