Add support for Actions #60
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp#60
Loading…
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?
FYI, in the upstream forgejo-sdk issue about organization and repository variables I mentioned that I have been using the following patch (
codeberg.org/redbeard/forgejo-sdk@27ab18120f) to the SDK which added support for a bunch of missing swagger endpoints.Additionally, I'm then using that patch along with this patch (
codeberg.org/redbeard/forgejo-mcp@5dc4571230) to provide support for Actions to forgejo-mcp. Thusfar it's working well.Think of this as a heads up to potentially useful community patches.
@redbeard I have created
codeberg.org/goern/forgejo-mcp@9fa8f1151bwould you like to open a PR to get
codeberg.org/redbeard/forgejo-mcp@5dc4571230inhere?Implemented in
4fea365Actions support is now live on
main.Key decisions:
forgejo-sdktov2.2.1-pre(post-merge of PR #103 which landed yesterday) — no custom SDK fork neededDispatchRepoWorkflow,ListRepoActionRuns,GetRepoActionRunmethods with the types fromaction.go3 new MCP tools in
operation/actions/:dispatch_workflowworkflow_dispatcheventlist_workflow_runsget_workflow_runAncillary changes:
Workflow,Inputs,Event,RunNumber,HeadSHA,RunID,Statusforgejo.GetBaseURL()helperoperation/pull/pull.go:EditPullRequestOption.Bodyis now*stringin the new SDKhttptestpattern)Thanks @redbeard for the original patches and for getting the SDK PR merged upstream!