@forgejo @gitea what is the preferred API to fetch unstarted actions?
I want to wake my #CI computer when a job is pending, but I'm not sure which call I should use.
I found the protobuf API, but it's not documented enough that I know how to use it :/ E.g. is fetching the same as accepting? What are the URLs?
gitea.com/gitea/actions-proto-…
#forgejo #ForgejoActions #gitea #GiteaActions
actions-proto-def/messages.proto at main
actions-proto-def - Protocol Buffer schema for Gitea Actions.Gitea: Git with a cup of tea
Gitea
in reply to dorotaC • • •Good news! There is a current work-around, where you have an "ignite" runner that your repo has a trigger workflow for, and when jobs come in, the ignite is always running and will wakeup/create your actual runner for incoming tasks, and then we just merged "one-shot" capabilities for the runner so that when the job is complete the runner will stop and your machine can go back to sleep.
We are working on additional functionality so that this ignite runner isn't needed :)
dorotaC
in reply to Gitea • • •