Skip to content

Conversation

@TooAngel
Copy link
Owner

@TooAngel TooAngel commented Dec 8, 2025

Summary

Add automatic acceptance of repository invitations to enable fully automated migration workflow.

What it does:

  1. Hourly cron job checks for pending repository invitations to worlddrivenbot
  2. Automatically accepts invitations using GITHUB_FALLBACK_TOKEN
  3. Finds related open PRs in worlddriven/documentation that modify REPOSITORIES.md
  4. Triggers CI re-run on those PRs by posting a comment and re-requesting checks

Why:

  • GitHub doesn't support user-level webhooks for invitation events
  • This polling approach enables fully automated repository migration
  • After a user invites worlddrivenbot, within 1 hour the invitation is accepted and CI re-runs

Workflow:

  1. User creates PR with Origin: owner/repo in documentation's REPOSITORIES.md
  2. CI fails with instructions to invite worlddrivenbot
  3. User invites worlddrivenbot as admin
  4. Within 1 hour: core accepts invitation + triggers CI re-run
  5. CI passes → PR merges → repo transfers

Token Requirements

GITHUB_FALLBACK_TOKEN needs:

  • repo scope - to accept invitations and read PR diffs
  • workflow scope (optional) - to re-trigger workflow runs

- Upgrade express from 5.1.0 to 5.2.0 (includes security fix for CVE-2024-51999)
- CI migration from CircleCI to GitHub Actions is complete:
  - GitHub Actions CI workflow implemented
  - GitHub Actions deployment workflow implemented
  - CircleCI configuration removed
  - README badges updated to GitHub Actions

Closes #281
@worlddriven
Copy link
Contributor

worlddriven bot commented Dec 8, 2025

🤖 Worlddriven Status

📊 Live Status Dashboard

🗓️ Merge Date: 2025-12-10 at 12:27:57 UTC (today)
📅 Started: 2025-12-08 at 16:49:47 UTC
Speed Factor: 0.18 (82% faster due to reviews)
Positive votes: 306/374 contribution weight (coefficient: 0.82)
📈 Base Merge Time: 10 days → Current: 2 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-12-08, 16:40:07 - Pull request opened
2025-12-08, 16:40:09 - Pull request opened
2025-12-08, 16:49:54 - Branch synchronized (merge timer reset)
2025-12-08, 16:49:56 - Branch synchronized (merge timer reset)
2025-12-10, 12:51:36 - Pull request merged by worlddriven ✅


This comment is automatically updated by worlddriven

Add hourly cron job that:
- Checks for pending repository invitations to worlddrivenbot
- Automatically accepts them using GITHUB_FALLBACK_TOKEN
- Finds related open PRs in worlddriven/documentation
- Triggers CI re-run on those PRs

This enables fully automated repository migration without manual
intervention after the initial invitation is sent.
@TooAngel TooAngel force-pushed the feat/auto-accept-invitations branch from 71bf666 to 14f850c Compare December 8, 2025 16:49
@worlddriven worlddriven bot merged commit 78f605a into master Dec 10, 2025
2 checks passed
@worlddriven worlddriven bot deleted the feat/auto-accept-invitations branch December 10, 2025 12:51
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.

2 participants