[PR #2] [CLOSED] feat: implement modular gitflow workflows with component-based architecture and application examples #27
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/workflows#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/webgrip/workflows/pull/2
Author: @Copilot
Created: 8/30/2025
Status: ❌ Closed
Base:
main← Head:copilot/fix-1📝 Commits (5)
8b10215Initial plan0f667f4feat: add gitflow-esque release workflow with keepachangelog support60b1a76fix: improve error handling and add comprehensive validation and migration docsb946e33feat: add example on_source_change.yml and on_release.yml for applications2e7c2c3refactor: separate development and release workflows with direct component calls📊 Changes
9 files changed (+1244 additions, -1 deletions)
View changed files
📝
.github/composite-actions/semantic-release/action.yml(+25 -1)➕
.github/workflows/gitflow-application.yml(+49 -0)➕
.github/workflows/gitflow-release.yml(+297 -0)➕
.releaserc.gitflow.json(+95 -0)➕
docs/gitflow-workflow.md(+194 -0)➕
docs/migration-guide.md(+183 -0)➕
examples/README.md(+142 -0)➕
examples/on_release.yml(+109 -0)➕
examples/on_source_change.yml(+150 -0)📄 Description
This PR implements a comprehensive gitflow-style development workflow that provides both monolithic and modular approaches for better branch management and automated release processes.
Key Features
Modular Component Architecture: The implementation now offers two distinct approaches:
gitflow-release.ymlprovides a single comprehensive workflow for teams preferring unified executionstatic-analysis.yml,tests.yml,semantic-release.yml, etc.) can be called directly for maximum flexibilityApplication-Ready Examples: The
examples/directory contains production-ready workflow templates:on_source_change.yml: Focused development workflow that calls static analysis and testing components directly, with automatic release PR creationon_release.yml: Dedicated release workflow that orchestrates semantic versioning, Docker builds, and Helm deployments using individual componentsClean Separation of Concerns:
on_source_change.yml) handle validation, testing, and release PR automationon_release.yml) handle versioning, building, and deploymentDirect Component Integration: Applications can now choose their preferred approach:
Architecture Benefits
Migration Path
Applications can choose between:
examples/on_source_change.ymlandexamples/on_release.ymlfor maximum controlgitflow-application.ymlfor simplicityThe implementation maintains backward compatibility while providing a clear path toward more modular, maintainable CI/CD architecture.
Fixes #1.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.