Add Forgejo workflow action for CI-triggered reviews #43
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review#43
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?
Problem
After #42 adds a CI-triggered gateway endpoint, repositories need a small workflow-facing wrapper that calls it only after their selected prerequisite CI jobs have passed. The auto_review repository should also wire that wrapper into its own Forgejo CI so the review path is exercised by the project workflow, not just documented as an external example.
Direction
Ship an auto_review Forgejo action or tiny CLI/script suitable for use in a workflow job. The action should not perform the review locally; it should authenticate to the gateway and request review dispatch for the current PR head.
Also add the review job to this repository's Forgejo Actions CI workflow after the prerequisite checks, using the new action/script rather than leaving it as a documentation-only example.
Acceptance
auto_reviewrunning afterneeds: [fmt, clippy, test]or equivalent project checks.auto_reviewreview job to this repository's Forgejo CI workflow, gated behind the existing prerequisite CI jobs and using the new action/script.Dependencies
Blocked by: #42.