Skip to content

Cleanup CronJob#234

Merged
ivan-flamingo merged 2 commits into
mainfrom
hotfix/qpz
Jul 17, 2026
Merged

Cleanup CronJob#234
ivan-flamingo merged 2 commits into
mainfrom
hotfix/qpz

Conversation

@ivan-flamingo

@ivan-flamingo ivan-flamingo commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Added scheduled and manually triggered repository maintenance.
    • Inactive pull requests are automatically converted to drafts, with outdated deployment labels removed.
    • Unprotected branches inactive for more than 60 days are automatically deleted.
    • Updated integration-test deployment configuration to reflect the current setup.

@ivan-flamingo ivan-flamingo self-assigned this Jul 17, 2026
@ivan-flamingo
ivan-flamingo merged commit 3d2f59e into main Jul 17, 2026
7 checks passed
@ivan-flamingo
ivan-flamingo deleted the hotfix/qpz branch July 17, 2026 12:52
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 50b444eb-5cfd-4b24-9136-a649f21adecd

📥 Commits

Reviewing files that changed from the base of the PR and between f8574e6 and 049f9fe.

📒 Files selected for processing (2)
  • .github/workflows/cleanup.yml
  • tests/integration/bootstrap/helm-values-tmp.yaml

📝 Walkthrough

Walkthrough

Adds scheduled GitHub Actions cleanup for stale pull requests and branches, and removes temporary deployment settings from the integration Helm values file.

Changes

Repository cleanup automation

Layer / File(s) Summary
Workflow triggers and stale pull requests
.github/workflows/cleanup.yml
Adds hourly, daily, and manual triggers, then drafts pull requests idle for more than one day and removes their deployed label.
Stale branch deletion
.github/workflows/cleanup.yml
Adds daily deletion of unprotected branches whose latest commit is older than 60 days.
Temporary Helm values cleanup
tests/integration/bootstrap/helm-values-tmp.yaml
Removes the temporary OSS and SaaS deployment enablement settings.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Scheduler
  participant CleanupWorkflow
  participant GitHubAPI
  participant GitRefs
  Scheduler->>CleanupWorkflow: trigger hourly or daily cleanup
  CleanupWorkflow->>GitHubAPI: list stale pull requests or unprotected branches
  CleanupWorkflow->>GitHubAPI: update pull requests or fetch commit dates
  CleanupWorkflow->>GitRefs: delete branches older than 60 days
Loading
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hotfix/qpz

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant