You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
auto-rebase: extract stuck-notice predicate + body formatting into a tested helper #735
Follow-up from #713 (auto-rebase Part C), deferred to keep that fix minimal.
Context
#713 added inline bash in auto-rebase-reusable.yml (~lines 161–182) implementing the "skipped + dirty ⇒ post stuck notice once" predicate and the notice body formatting. Copilot's review noted this deviates from the repo pattern of extracting auto-rebase logic into small, testable helpers (lib/eligibility.sh, lib/comments.sh) with bats coverage.
Task
Extract the stuck-notice predicate + body formatting from auto-rebase-reusable.yml into a dedicated helper under .github/scripts/auto-rebase/, add bats coverage, and reduce the workflow step to thin I/O glue — matching the existing eligibility/comments helper pattern.
Notes
The current inline logic is functional and the eligibility test suite covers the relevant paths; this is a maintainability/testability refactor, not a bug fix.
Activity