mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2513] [MERGED] ci: allow Bunny Review on staging-based PRs #5631
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2513
Author: @Romuromylus
Created: 6/7/2026
Status: ✅ Merged
Merged: 6/7/2026
Merged by: @Romuromylus
Base:
staging← Head:fix/bunny-review-staging-base📝 Commits (1)
64a7bd3ci: allow Bunny Review on staging-based PRs📊 Changes
2 files changed (+4 additions, -3 deletions)
View changed files
📝
.github/workflows/bunny-review-auto.yml(+3 -2)📝
.github/workflows/bunny-review-command.yml(+1 -1)📄 Description
Linked issue
No issue was open for this. It is a small CI-enablement change scoped to the two Bunny dispatcher guards; happy to open one to track it if you would prefer.
Why this change
Bunny Review only dispatches for PRs based on
refactorormain. A PR based onstagingis rejected withUnsupported Bunny review base ref: stagingby both the auto dispatcher and the/bunny-reviewcommand, so PRs targetingstagingget no Bunny pass at all. Since active development happens onstaging, this addsstagingto the supported base refs so those PRs are reviewed likemain/refactorones.What changed
.github/workflows/bunny-review-auto.yml: addstagingto thedispatchjobifcondition and theTARGET_REFguard..github/workflows/bunny-review-command.yml: addstagingto theTARGET_REFguard.No change to
bunny-review.yml(the trusted reviewer): it is dispatched with--ref $TARGET_REF, andstagingalready carries that workflow plus the.github/bunny-review/tooling, so it resolves cleanly once the base ref is allowed.Activation note (event-source asymmetry)
The two dispatchers resolve their workflow file from different branches, by GitHub's rules:
bunny-review-auto.ymlruns onpull_request_target, which uses the workflow file from the PR base branch. Once this merges tostaging, auto-dispatch works on staging PRs immediately.bunny-review-command.ymlruns onissue_comment, which always uses the workflow file from the default branch (main). So/bunny-reviewon a staging PR starts working once this change also reachesmainvia the normal staging-to-main flow.I kept both edits in one change for consistency; the auto path is the one that activates on merge here.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
TARGET_REFguards plus the auto-dispatchifcondition; the foldedif:scalar and shell guards are otherwise unchanged.Docs and release impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.