convictional / trigger-workflow-and-wait

Trigger a workflow in another (or same) repository and wait for the job to finish.
MIT License
321 stars 153 forks source link

Querying of a workflow state is too aggressive #27

Open morapet opened 2 years ago

morapet commented 2 years ago

It is possible to set a timeout which workflow waits until checking the state of the executed remote workflow, but the cycle checking the workflow state should not ask too often for the workflow state (I hit API query limit e.g after couple seconds), there should be a relax interval (configurable), in my case it is enough to set 10secods between checks that workflow is finished.

xucian commented 2 years ago

Hey,

I get this every couple seconds, even though the wait_interval is 20. I'm using the master branch of the action because the current release doesn't actually wait for the remote workflow to finish. Any plans to actually support this action? We need to base our complex CI/CD on a stable tool and I'm not sure this is the right choice image