Skip to content

Instantly share code, notes, and snippets.

@robsonpiere
Created January 11, 2024 14:35
Show Gist options
  • Save robsonpiere/a2ce7092c6313cf153840c7b2c2d239c to your computer and use it in GitHub Desktop.
Save robsonpiere/a2ce7092c6313cf153840c7b2c2d239c to your computer and use it in GitHub Desktop.
Release Pelase Flow
---
title: Release flow
---
flowchart LR
    classDef default fill:#5C307F,color:#FFF,stroke:#000000;
    classDef begin  fill:#BEC100,color:#000,stroke:#000000;
    classDef finish fill:#FF8100,color:#FFF,stroke:#000000;


    linkStyle default stroke:#5C307F,color:black;


    feature-fix((Feature/fix/sth)):::begin
    mergefeat(Merged PR to main)
    action(Action Triggered)
    merged{"Relese <br> Merged ?"}

    release(Create Github Release)

    pr-exists{"Exists PR <br> opened ?"}
    add-changes(Add changes to PR)
    release-pr(Create Relase PR)

    finished((FINISHED)):::finish

    feature-fix-->mergefeat
    mergefeat-->action
    action-- no needs release -->finished
    action--needs release-->merged

    merged--yes--> release-->finished
    merged--No--> pr-exists


    pr-exists--yes-->add-changes
    pr-exists--No-->release-pr
    release-pr-->add-changes
    add-changes-->merged
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment