Skip to content

Conversation

@TooAngel
Copy link
Owner

Summary

Fixes the invitation processor to correctly re-run GitHub Actions workflows after accepting repository invitations.

Problem

The previous implementation used the Check Runs API (/check-runs/{id}/rerequest) which is designed for GitHub Apps, not GitHub Actions workflows.

Solution

Switch to the GitHub Actions API:

  • GET /repos/{repo}/actions/runs?head_sha={sha}&status=failure - Find failed workflow runs
  • POST /repos/{repo}/actions/runs/{id}/rerun - Re-run the failed workflows

This enables automatic CI re-runs on documentation PRs after worlddriven accepts repository invitations, allowing blocked PRs to proceed.

@worlddriven
Copy link
Contributor

worlddriven bot commented Dec 22, 2025

🤖 Worlddriven Status

📊 Live Status Dashboard

🗓️ Merge Date: 2025-12-24 at 17:00:03 UTC (today)
📅 Started: 2025-12-22 at 21:56:25 UTC
Speed Factor: 0.18 (82% faster due to reviews)
Positive votes: 311/379 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-22, 21:54:42 - Pull request opened
2025-12-22, 21:54:43 - Pull request opened
2025-12-22, 21:56:32 - Branch synchronized (merge timer reset)
2025-12-22, 21:56:33 - Branch synchronized (merge timer reset)
2025-12-24, 17:51:23 - Pull request merged by worlddriven ✅


This comment is automatically updated by worlddriven

Replace Check Runs API with Actions API for re-running workflows after
accepting repository invitations. The Check Runs API is designed for
GitHub Apps while the Actions API properly re-runs GitHub Actions
workflows.

Changes:
- Use /actions/runs endpoint to find failed workflows by head SHA
- Use /actions/runs/{id}/rerun to trigger re-runs
- Filter for failed status to only re-run relevant workflows
@TooAngel TooAngel force-pushed the fix/invitation-processor-rerun-api branch from 40845d8 to 26c4779 Compare December 22, 2025 21:56
@worlddriven worlddriven bot merged commit 5099986 into master Dec 24, 2025
2 checks passed
@worlddriven worlddriven bot deleted the fix/invitation-processor-rerun-api branch December 24, 2025 17: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