ExitGitflow: branch-driven release promotion1 / 9
Explanation

Branch events express release intent

How feature, develop, release, main, and hotfix branch events govern pipeline validation and environment promotion while preserving tested artifact identity. · advanced

Gitflow assigns roles to branches; pipeline configuration turns those roles into actions. A feature branch starts from develop and returns through a pull request. Required checks should validate the proposed integration, not just the isolated feature tip. After merging, validate the resulting develop revision because concurrent changes can alter the combined result.

An update to develop can deploy to integration, while a release branch cut from develop can produce staging candidates. A protected main update or release tag can request production promotion. These are explicit policy choices, not Git behavior: a branch name neither grants deployment authority nor proves that its current contents passed the required checks.

Branch eventValidation purposeExample deployment policy
Feature pull requestProposed integration checksNo production access
Develop updateCombined-change validationShared integration
Release updateCandidate qualificationStaging
Main update or tagRelease eligibility checksGated production promotion
Hotfix updateUrgent-fix qualificationControlled release path