Gitea Actions: Trigger workflow from another repository

Hello there,

I’m tinkering with Gitea actions to see if/what I could migrate to it. On Github Actions, there is a possibility to trigger a workflow from another repository through an API call, so the idea is Workflow1 runs and once arrived at a given state, it calls the API to trigger Workflow2 from another repository.

Here is what is used on Github’s side, it relies on the on: workflow_dispatch event and a REST route letting the user generate a custom event. A discussion regarding this can be found here: Triggering by other repository · community · Discussion #26323 · GitHub

Is there a similar option at hand on Gitea’s side ? I haven’t found a similar REST route exposed and the tea client does not seem to provide a workflow trigger capability.

3 Likes

Reviving this topic, it would be really nice to be able to kick off an action in one repo from a push to a different one. Is there not a way to use a webhook to start an action via API or something currently?