danielgerlag / danielgerlag/workflow-core

[Question] Is it possible to have circulair branching in a workflow?

Open
#1,218 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
5.9k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
5

Description

I want to do the following

Step1 -> branch1.

branch1 -> branch2 or branch3.
branch2 -> branch1

branch 3 -> end workflow.

I have a workflow where i need to do the same steps x amount of times until somthing else happens, and then do some other steps.
I know i can do this with a while loop, but i would rather do this with branches since that would help me emensly later on.

In the end i want to do something like this:
![image](https://github.com/danielgerlag/workflow-core/assets/146724236/6f5d81a1-c78e-47cd-b1ad-bca31367204a)

Is this possible with workflow-core?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.