I want to build a mermeid diagram for this Gitflow let's suppose I made a PR and I…
- User
I want to build a mermeid diagram for this Gitflow let's suppose I made a PR and I assign it to 2 other members when the PR is approved and merged into develop the person that approves the PR should go in the Monday task link attached to the PR and mark the Monday task as Product Review or Done (if it cannot be tested by QA) the person that approved the PR should also try to merge the code into stage. If the person merging the task cannot merge the code into stage it should ask the person that made the PR to do this two step operation.
Please also rephase this text above, also give the SUDO for thisShare Prompt
- Assistant
Here's a mermaid diagram for the described Gitflow:
mermaidsequenceDiagram participant Developer as Dev participant Reviewer1 as R1 participant Reviewer2 as R2 participant MondayTask as MT participant StageBranch as Stage Dev->>R1: Assign PR for review Dev->>R2: Assign PR for review R1->>Dev: Review PR R2->>Dev: Review PR Dev->>DevelopBranch: Merge PR into develop R1->>MT: Mark task as Product Review or Done R1->>Stage: Attempt to merge code into stage Note over R1, Stage: If unable to merge R1->>Dev: Request assistance for merging into stage Dev->>Stage: Merge code into stage - User
in the above it's not the Dev that merges but R1 or R2, make this changeShare Prompt
- Assistant
Here's the modified mermaid diagram reflecting that either Reviewer1 (R1) or Reviewer2 (R2) merges the PR into the develop branch:
mermaid