issue-129: commit-docs/commit-changes check Forgejo CI via the forgejo extension before merging #130
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!130
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-129/forgejo-ci-check"
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?
Both commit skills told agents "the extension doesn't surface CI — check the web UI; same for
fj" before merging. That's stale: theforgejopi extension now ships read-only Forgejo Actions tools that surface CI directly. This PR replaces the stale line with a proper how-to and tightens the merge gate.What & why
forgejo_action_runs head_sha=<PR head sha>(primary filter — catches push AND pull_request-event runs, robust for fork PRs), withref: refs/heads/<branch>noted as a lighter alternative. Aggregation: any failure → failing; any running/waiting → running; all success → success; none → "none configured" (gate passes). On failure:forgejo_action_jobs→forgejo_action_job_log(refresh: trueafter re-runs; logs are cache-first).forgejo_action_runserrors (e.g. 404 — instance predates v16 or Actions disabled), fall back to the web UI. Non-Actions CI (commit statuses from external CI) is invisible to the extension → web UI.forgejo_action_runsup to 15 minutes, then merge on success / stop-and-report on failure, cancellation, or timeout. No runs → "none configured" → merge. GitHub/GitLab get no new CI-check instructions.Per-file breakdown
skills/commit-docs/SKILL.md(modified): new "Checking CI on Forgejo" section; Step 4 CI-check line now points at the extension (web-UI fallback noted); merge-policy gate wording → wait-for-green; Failure Handling gains a "CI still running on an authorised merge" entry; Quick Reference updated.skills/commit-changes/SKILL.md(modified): identical changes in Step 5, merge policy, Failure Handling table, and both Quick Reference blocks.CHANGELOG.md(modified): Unreleased → Changed entry.Closes #129