Skip to content

feat(dependabot-rebase): add workflow_dispatch trigger#139

Merged
don-petry merged 1 commit intomainfrom
fix/rebase-workflow-dispatch
Apr 16, 2026
Merged

feat(dependabot-rebase): add workflow_dispatch trigger#139
don-petry merged 1 commit intomainfrom
fix/rebase-workflow-dispatch

Conversation

@don-petry
Copy link
Copy Markdown
Contributor

@don-petry don-petry commented Apr 16, 2026

Summary

  • Adds workflow_dispatch to the rebase workflow so the Dependabot PR queue can be flushed manually without needing an organic push to main

Why

The rebase workflow self-chains when merging one Dependabot PR pushes to main, triggering it again for the next. But after a branch-update cycle (where all PRs fell behind and got updated together), there's no follow-up push to main to trigger the merge pass. workflow_dispatch lets us kick it off on demand.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Enhanced Dependabot rebase automation by adding manual invocation capability to workflow configurations. Users can now trigger the rebase process on-demand through workflow dispatch in addition to existing automatic triggers activated when updates are pushed to the main branch.

Allows manual flushing of the Dependabot PR queue without needing a
natural push to main. Useful after a batch of PRs have been approved and
are waiting for the rebase workflow to chain them through.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 16, 2026 11:50
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4cf6ba92-d8b8-4e58-9e15-431bcaea913e

📥 Commits

Reviewing files that changed from the base of the PR and between b31d1dc and 79c0827.

📒 Files selected for processing (2)
  • .github/workflows/dependabot-rebase.yml
  • standards/workflows/dependabot-rebase.yml

📝 Walkthrough

Walkthrough

Two Dependabot rebase workflow files are updated with the workflow_dispatch trigger, enabling manual invocation alongside existing event triggers. Each file receives a single-line addition with no other configuration changes.

Changes

Cohort / File(s) Summary
Dependabot Rebase Workflows
.github/workflows/dependabot-rebase.yml, standards/workflows/dependabot-rebase.yml
Added workflow_dispatch trigger to enable manual invocation of Dependabot rebase workflows in addition to existing event triggers.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately describes the main change: adding a workflow_dispatch trigger to the dependabot-rebase workflow files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rebase-workflow-dispatch

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 and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a manual trigger to the Dependabot rebase/merge workflow so the queue can be flushed on demand (without requiring a push to main).

Changes:

  • Add workflow_dispatch trigger to the Dependabot rebase workflow
  • Apply the same trigger change to both the standards “source of truth” workflow and the adopted workflow copy

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
standards/workflows/dependabot-rebase.yml Adds workflow_dispatch to allow manual runs of the rebase workflow stub
.github/workflows/dependabot-rebase.yml Mirrors the same workflow_dispatch trigger addition in the repo workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

push:
branches:
- main
workflow_dispatch: # allow manual trigger to flush Dependabot PR queue
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a new trigger event, but the header comment in this file states “You MUST NOT change: trigger event…”. Please update that guidance (or remove/relax it) so future maintainers aren’t misled about what’s allowed when adopting/updating this workflow.

Copilot uses AI. Check for mistakes.
push:
branches:
- main
workflow_dispatch: # allow manual trigger to flush Dependabot PR queue
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a new trigger event, but the header comment in this file states “You MUST NOT change: trigger event…”. Please update that guidance (or remove/relax it) so future maintainers aren’t misled about what’s allowed when adopting/updating this workflow.

Copilot uses AI. Check for mistakes.
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