Skip to content

feat: split tag-release workflow and make changelog generation optional#359

Open
anket-cd wants to merge 6 commits intoclouddrove:masterfrom
anket-cd:feat/release-workflows
Open

feat: split tag-release workflow and make changelog generation optional#359
anket-cd wants to merge 6 commits intoclouddrove:masterfrom
anket-cd:feat/release-workflows

Conversation

@anket-cd
Copy link
Copy Markdown
Contributor

Description

Type of Change

This PR refactors the tag-release workflow to improve maintainability, reliability, and flexibility. The workflow is now split into two separate, reusable workflows that can be used independently or together.

📋 Changes Overview

1. Workflow Split

  • release-tag.yml: Handles tag creation based on PR labels (major/minor/patch)
  • release-changelog.yml: Handles changelog generation and release creation (reusable)

2. Optional Changelog Generation

  • Added create_changelog input (boolean, default: true) to control whether changelog runs

  • 🐛 Bug fix
  • ✨ New workflow
  • 📝 Documentation update
  • 🔧 Workflow enhancement
  • 🎨 Code style/formatting
  • ♻️ Refactoring
  • ⚡ Performance improvement
  • 🔒 Security improvement

Workflow Category

  • Terraform (tf-*)
  • CloudFormation (cf-*)
  • Docker (docker-*)
  • Helm (helm-*)
  • PR Automation (pr-*)
  • Security (security-*)
  • Release (release-*)
  • Notification (notify-*)
  • AWS-specific (aws-*)
  • GCP-specific (gcp-*)
  • YAML Lint (yl-*)
  • Other

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Testing

https://github.com/anket-cd/shared-workflows/actions/runs/23588855629/workflow

Screenshots/Documentation

Screenshot 2026-03-26 at 7 26 08 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant