Skip to content

Conversation

@mishraomp
Copy link
Collaborator

No description provided.

Copy link
Contributor

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 concurrency controls to prevent overlapping workflow runs and refactors the image retag jobs to run across a matrix of package types.

  • Add top-level concurrency blocks in both release.yml and merge.yml
  • Define a strategy.matrix to retag images for backend, migrations, and frontend
  • Update the repository field in retag steps to include ${{ matrix.package }}

Reviewed Changes

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

File Description
.github/workflows/release.yml Added concurrency settings and a matrix strategy for retag jobs
.github/workflows/merge.yml Added concurrency settings and a matrix strategy for retag jobs

workflow_dispatch:

concurrency:
group: main
Copy link

Copilot AI Jun 9, 2025

Choose a reason for hiding this comment

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

Using a generic concurrency group name 'main' will prevent workflows across different triggers (e.g., merge and release) from running concurrently. Consider incorporating the workflow name and/or branch in the group expression (e.g., ${{ github.workflow }}-${{ github.ref }}) to scope locks per workflow.

Suggested change
group: main
group: ${{ github.workflow }}-${{ github.ref }}

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it is by design, dont want to run them parallel

@mishraomp mishraomp merged commit c80268a into main Jun 9, 2025
19 checks passed
@mishraomp mishraomp deleted the fix/release branch June 9, 2025 22:18
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