# Nested reusable workflows concurrency

**URL:** https://forum.gitea.com/t/nested-reusable-workflows-concurrency/11375
**Category:** Gitea Usages
**Created:** [June 6, 2025, 3:23pm UTC](https://forum.gitea.com/t/nested-reusable-workflows-concurrency/11375 "2025-06-06T15:23:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spf](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@spf](https://forum.gitea.com/u/spf)
#### Post date: [June 6, 2025, 3:23pm UTC](https://forum.gitea.com/t/nested-reusable-workflows-concurrency/11375/1 "2025-06-06T15:23:29Z")

</div>

Hi,

I have written a workflow “workflow\_utility1” which is working perfectly fine.

So i was able to reuse it from a workflow named “workflow\_sub1”, after adding the required “workflow\_call” declarations.

Now I need to write some kind of meta-workflow named “workflow\_meta” invoking several workflows like “workflow\_sub1”, which are all independent and can be used separately.

I am experiencing something strange :

- “workflow\_meta” is launching “workflow\_sub”, which at some point invokes “workflow\_utility1”.

- “workflow\_utility1” is started, it is running in background (with a dedicated runner with a name like GITEA-ACTIONS-TASK-13517\_WORKFLOW-…" ).

- “workflow\_sub1” immediately returns a green success status for this step, but “workflow\_utility1” 's tasks are still running in background as it’s a long lasting process (Docker image building after sources compilation).

- I am relying on outputs coming from “workflow\_utility1”, their values are empty in “workflow\_meta” as long as the workflow is running and they have not been defined, which leads to problems.

- No errors are reported.

- But after “workflow\_utility1” completion, I can re-run the steps requiring outputs in “workflow\_meta”, and this time I get the expected outputs.

Is there a way to “sync” nested workflows execution, so “workflow\_sub1” stays in a running state until “workflow\_utility1” is over ?

I don’t know how to name this concept, so I have not been able to find a solution so far.

Thanks for any help.

Regards
