convictional / trigger-workflow-and-wait

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

Skip if workflow has already run #87

Open SachaTe opened 1 year ago

SachaTe commented 1 year ago

Is there any method to skip triggering the workflow if it has already run ?

For example, I have a workflow which builds/compiles an app. I then have some other workflows (like nightly tests, weekend soaks, etc.) which will fetch/download the build and run some tests. However these items can also be executed independently, so we are unsure if a build is started/not run/etc. and want to avoid wasting time on a re-run.