I got a not so simple workflow:
workflows: my-workflow: jobs: - maven-test - approve-maven-pitest: type: approval requires: - maven-test - maven-pitest: requires: - approve-maven-pitest - maven-build-production: filters: branches: only: master - validate-terraform - stage-deploy: requires: - maven-build-production - maven-test - validate-terraform - stage2-deploy: requires: - maven-build-production - maven-test - validate-terraform - approve-production-deploy: type: approval requires: - stage-deploy - stage1-deploy - production-deploy: requires: - approve-prod-deploy
which gets visualized like this (see attached image).
In my opinion, this visualization is at least … confusing.
There is: maven-pitest requires approve-maven-pitest requires maven-test.
From the visualization, I do suggest, that approve-maven-pitest requires maven-test, maven-build-producation and validate-terraform. I do suggest, that approve-producation-deploy requires approve-maven-pitest (which is not the case).