Skip to content

test #15

@jasonbahl

Description

@jasonbahl

What problem does this address?

flowchart TD
    %% Branches
    subgraph Branches
        master[master]
        develop[develop]
        milestone[milestone/feature]
    end

    %% PR Creations
    PR_M[Create PR to milestone] --> |Developer merges PR| MERGE_M[PR merged to milestone]
    
    %% Workflow Triggers
    MERGE_M --> |Triggers workflow| WF_MS[milestone-pr-generation workflow]
    BC[Branch creation milestone/*] --> |Triggers workflow| WF_MS
    MD[Manual dispatch] --> WF_MS
    
    %% Generate Changeset
    WF_MS --> GCS[Generate changeset]
    GCS --> |Store in milestone branch| milestone
    
    %% Milestone PR Management
    WF_MS --> |Check if PR exists| CHK_PR{PR exists?}
    CHK_PR --> |Yes| UPD_PR[Update milestone-to-develop PR]
    CHK_PR --> |No| CRT_PR[Create new milestone-to-develop PR]
    
    %% Update PR Content
    GN[Generate notes from milestone changesets]
    UPD_PR --> GN
    CRT_PR --> GN
    GN --> |Update PR body| MPR[milestone → develop PR]
    
    %% PR States
    MPR --> |Draft until feature complete| DFT[Draft PR]
    DFT --> |Feature complete| RDY[Ready for review]
    
    %% Eventual Merge
    RDY --> |PR approved and merged| MERGE_D[PR merged to develop]
    
    %% Existing Workflow
    MERGE_D --> |Triggers workflow| WF_CG[changeset-generation workflow]
    WF_CG --> |Create/update PR| DPR[develop → master PR]
    DPR --> |When ready to release| MERGE_M2[PR merged to master]
    MERGE_M2 --> |Triggers workflow| WF_REL[release workflow]
    
    %% Release Process
    WF_REL --> |Version bump| VB[Version bump]
    WF_REL --> |Update changelogs| CL[Update changelogs]
    WF_REL --> |Create tag| TAG[Create release tag]
    WF_REL --> |Deploy| DEP[Deploy to WordPress.org]
    
    %% Milestone Changesets Flow
    milestone --> |Changesets stored| M_CS[Milestone changesets]
    MERGE_D --> |Changesets moved to develop| D_CS[Develop changesets]
    M_CS -.-> D_CS
    D_CS --> |Included in release notes| RN[Release notes]
    RN --> |Grouped by milestone| RN_M[Milestone section in notes]
Loading
flowchart TD
    %% Branches
    subgraph Branches
        master[master]
        develop[develop]
        milestone[milestone/feature]
    end

    %% PR Creations
    PR_M[Create PR to milestone] --> |Developer merges PR| MERGE_M[PR merged to milestone]
    
    %% Workflow Triggers
    MERGE_M --> |Triggers workflow| WF_MS[milestone-branch-management workflow]
    REL[Release published] --> |Triggers workflow| WF_SYNC[sync-with-master job]
    
    %% Update PR
    WF_MS --> |Check if PR exists| CHK_PR{PR exists?}
    CHK_PR --> |Yes| UPD_PR[Update milestone-to-develop PR]
    CHK_PR --> |No| CRT_PR[Create new milestone-to-develop PR]
    
    %% PR States
    UPD_PR --> DFT[Draft PR]
    CRT_PR --> DFT
    DFT --> |Feature complete| RDY[Ready for review]
    
    %% Sync with Master
    WF_SYNC --> |For each milestone branch| SYNC[Merge master into milestone branch]
    
    %% Eventual Merge
    RDY --> |PR approved and merged| MERGE_D[PR merged to develop]
    
    %% Existing Workflow Takes Over
    MERGE_D --> |Triggers existing workflow| EXIST[Existing release workflows]
Loading

What is your proposed solution?

test

What alternatives have you considered?

test

Additional Context

test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions