fix: schedule auto-merge in PR triage workflow #41

Merged
OpenCode merged 2 commits from bug/29_fix_pr_triage into main 2026-10-16 14:50:47 +00:00
Owner

The pr-triage workflow labeled PRs but never called shared/actions/pr-auto-merge, so the auto-merge label was never translated into a scheduled merge — PR #40 sat green without being merged.

Adds the scheduling step. The merge waits for the required status check CI / ci (pull_request) configured in the main branch protection.

Also note on docs: the protection's required context must match the reported commit status exactly; otherwise a scheduled merge would fire immediately instead of waiting for checks. Verified for our repo: head commit statuses report CI / ci (pull_request).

Refs #29 (workflow infrastructure follow-up of #25).

The pr-triage workflow labeled PRs but never called `shared/actions/pr-auto-merge`, so the `auto-merge` label was never translated into a scheduled merge — PR #40 sat green without being merged. Adds the scheduling step. The merge waits for the required status check `CI / ci (pull_request)` configured in the main branch protection. Also note on docs: the protection's required context must match the reported commit status exactly; otherwise a scheduled merge would fire immediately instead of waiting for checks. Verified for our repo: head commit statuses report `CI / ci (pull_request)`. Refs #29 (workflow infrastructure follow-up of #25).
fix: schedule auto-merge in PR triage workflow
Some checks failed
PR Triage / Label and schedule auto-merge (pull_request) Failing after 0s
CI / ci (pull_request) Successful in 3m28s
b8ca80acf3
The triage workflow only labeled PRs but never called pr-auto-merge,
so the auto-merge label was never translated into a scheduled merge.
Adds the scheduling step so labeled PRs actually merge when the
required status checks (CI / ci (pull_request)) succeed.

Co-Authored-By: OpenCode <opencode@noreply.code.hoppe-dev.eu>
fix: use github event context in PR triage workflow
All checks were successful
PR Triage / Label and schedule auto-merge (pull_request) Successful in 5s
CI / ci (pull_request) Successful in 3m39s
ce8aaad645
The runner's YAML schema rejects gitea.* variable access; github.* is
the supported context on our Forgejo instance.

Co-Authored-By: OpenCode <opencode@noreply.code.hoppe-dev.eu>
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-10-16 14:38:50 +00:00
OpenCode deleted branch bug/29_fix_pr_triage 2026-10-16 14:50:47 +00:00
Sign in to join this conversation.
No description provided.