Skip to content

Conversation

gionn
Copy link
Member

@gionn gionn commented Oct 1, 2025

Checklist

  • Jira Reference (also in PR title): OPSEXP-3531
  • README updated after adding/changing behaviour of an action
  • Proposed version increment for release:
    • Patch (bugfix)
    • Minor (new feature)
    • Major (breaking changes)
  • External PR link where changes has been tested: see private ref

Description

introduce a new reusable workflow for automating branch promotions and updates the documentation to reflect its usage. The main focus is on streamlining the process of promoting changes from a source branch to multiple target branches, particularly for environment management (e.g., develop → staging/production). Documentation for Terraform projects has also been updated to encourage adoption of this workflow.

@gionn gionn marked this pull request as ready for review October 1, 2025 15:16
@gionn gionn requested a review from a team as a code owner October 1, 2025 15:17
@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 15:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new reusable workflow for automating branch promotion pull requests, enabling streamlined promotion of changes from a source branch to multiple target branches (e.g., develop → staging/production). The implementation focuses on environment management workflows commonly used in infrastructure and deployment scenarios.

Key changes:

  • Adds a new reusable workflow branch-promotion-prs.yml with configurable templates and reviewer assignments
  • Updates documentation to include comprehensive usage examples and parameter descriptions
  • Refactors Terraform documentation to reference the new workflow instead of manual badge-based promotion

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/branch-promotion-prs.yml New reusable workflow implementing automated branch promotion with matrix strategy for multiple target branches
docs/README.md Adds documentation section for the new workflow with complete usage example and parameter descriptions
docs/terraform.md Replaces manual environment badge section with reference to the new branch promotion workflow

Copy link
Contributor

@pmacius pmacius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can still have badges docs not sure

@gionn
Copy link
Member Author

gionn commented Oct 1, 2025

Maybe we can still have badges docs not sure

These were solely workarounds to simplify PR creation. Now that we have the automation they serve no other purpose.

@gionn gionn merged commit 3cefa53 into master Oct 2, 2025
6 checks passed
@gionn gionn deleted the OPSEXP-3531-branch-promotion branch October 2, 2025 11:56
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.

2 participants