Skip to content

Conversation

@TooAngel
Copy link
Contributor

Summary

Adds repository deletion functionality to the sync automation while protecting critical infrastructure repositories.

Changes

  • Automatic deletion: Repositories not defined in REPOSITORIES.md are now automatically deleted
  • Protected repositories: Hardcoded exclusion list for documentation, core, and webapp - these can never be auto-deleted
  • Workflow summary: Added GITHUB_STEP_SUMMARY output to actual sync runs (previously only in dry-run)
  • Enhanced reporting: Summary now includes deletion count

Implementation Details

The sync process now handles the full lifecycle:

  1. Create - missing repositories
  2. Update - descriptions and topics
  3. Delete - extra repositories (except protected ones)

Protected repositories appear in the "Skip (protected)" section of the summary instead of being deleted.

Test Plan

  • ✅ Syntax validation passes
  • ✅ All existing tests pass (13/13)
  • ✅ Dry-run mode displays correctly
  • ✅ PROTECTED_REPOS array enforced in generateSyncPlan

@worlddriven
Copy link
Contributor

worlddriven bot commented Oct 26, 2025

🤖 Worlddriven Status

📊 Live Status Dashboard

🗓️ Merge Date: 2025-10-29 at 15:10:34 UTC (2 days ago)
📅 Started: 2025-10-26 at 07:10:34 UTC
Speed Factor: 0.33 (67% faster due to reviews)
Positive votes: 4/6 contribution weight (coefficient: 0.67)
📈 Base Merge Time: 10 days → Current: 3 days

🎯 Want to influence when this merges?

Your review matters! As a contributor to this project, your voice helps determine the merge timeline.

How to review:

  1. Check the changes
    Files changed

  2. Leave your review
    Review changes

Your options:

  • ✅ Agree & Speed Up: Approve Approving makes this merge faster
  • ❌ Disagree & Slow Down: Request changes Requesting changes delays the merge

💡 Pro tip: The more contributors who agree, the faster this gets merged!

📊 View detailed stats on the dashboard

📋 Recent Activity

2025-11-01, 05:56:47 - Pull request merged by worlddriven ✅


This comment is automatically updated by worlddriven

Add repository deletion functionality to the sync automation:
- Automatically delete repositories not in REPOSITORIES.md
- Protect 'documentation', 'core', and 'webapp' from deletion
- Add workflow summary to actual sync runs (like dry-run)
- Update summary output to show deletion count

The sync process now handles the full lifecycle of repositories:
creating, updating, and deleting them based on REPOSITORIES.md
while protecting critical infrastructure repositories.
@worlddriven worlddriven bot merged commit 87517af into worlddriven:main Nov 1, 2025
3 checks passed
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