From 57e74ef91ae2b410718c794e6e6f18aabe8d82a0 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:09:44 +0000 Subject: [PATCH 1/8] test - fix/workflow-dev-tag-issue on push --- .github/workflows/base-deploy.yml | 2 +- .github/workflows/cicd-3-test-deploy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base-deploy.yml b/.github/workflows/base-deploy.yml index fc56410aa..9b668c336 100644 --- a/.github/workflows/base-deploy.yml +++ b/.github/workflows/base-deploy.yml @@ -83,7 +83,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git tag --points-at "$SHA" | grep '^dev-' | head -n1 || true) + TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) if [ -z "$TAG" ]; then echo "Using the dev tag provided in the input field" >&2 TAG="${{ inputs.ref }}" diff --git a/.github/workflows/cicd-3-test-deploy.yaml b/.github/workflows/cicd-3-test-deploy.yaml index cbff54241..b90435265 100644 --- a/.github/workflows/cicd-3-test-deploy.yaml +++ b/.github/workflows/cicd-3-test-deploy.yaml @@ -38,7 +38,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git tag --points-at "$SHA" | grep '^dev-' | head -n1 || true) + TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) if [ -z "$TAG" ]; then echo "No dev-* tag found on $SHA" >&2 exit 1 From 4474c208af0febc7b6d4a10d1b7fc4445c070d48 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:17:58 +0000 Subject: [PATCH 2/8] sort by refname --- .github/workflows/base-deploy.yml | 2 +- .github/workflows/cicd-3-test-deploy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base-deploy.yml b/.github/workflows/base-deploy.yml index 9b668c336..59abe0538 100644 --- a/.github/workflows/base-deploy.yml +++ b/.github/workflows/base-deploy.yml @@ -83,7 +83,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) + TAG=$(git for-each-ref --sort=-refname --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) if [ -z "$TAG" ]; then echo "Using the dev tag provided in the input field" >&2 TAG="${{ inputs.ref }}" diff --git a/.github/workflows/cicd-3-test-deploy.yaml b/.github/workflows/cicd-3-test-deploy.yaml index b90435265..6292346fa 100644 --- a/.github/workflows/cicd-3-test-deploy.yaml +++ b/.github/workflows/cicd-3-test-deploy.yaml @@ -38,7 +38,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) + TAG=$(git for-each-ref --sort=-refname --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) if [ -z "$TAG" ]; then echo "No dev-* tag found on $SHA" >&2 exit 1 From 53417626a53d22733f3a6d351c4f6a091418bd3a Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:18:45 +0000 Subject: [PATCH 3/8] test commit --- .github/workflows/cicd-2-publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cicd-2-publish.yaml b/.github/workflows/cicd-2-publish.yaml index f3f0ad688..90682c9ea 100644 --- a/.github/workflows/cicd-2-publish.yaml +++ b/.github/workflows/cicd-2-publish.yaml @@ -9,6 +9,7 @@ on: branches: - main - hotfix/* + - fix/dev-tagging workflow_dispatch: {} concurrency: From eff57a17591eebfae35c893217d0acfb7f06297d Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:19:08 +0000 Subject: [PATCH 4/8] test commit --- .github/workflows/cicd-2-publish.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cicd-2-publish.yaml b/.github/workflows/cicd-2-publish.yaml index 90682c9ea..afa6f1eb6 100644 --- a/.github/workflows/cicd-2-publish.yaml +++ b/.github/workflows/cicd-2-publish.yaml @@ -139,11 +139,11 @@ jobs: title: "Pushed to main" version: "${{ needs.metadata.outputs.version }}" - regression-tests: - name: "Regression Tests" - needs: publish - uses: ./.github/workflows/regression-tests.yml - with: - ENVIRONMENT: "dev" - VERSION_NUMBER: "main" - secrets: inherit +# regression-tests: +# name: "Regression Tests" +# needs: publish +# uses: ./.github/workflows/regression-tests.yml +# with: +# ENVIRONMENT: "dev" +# VERSION_NUMBER: "main" +# secrets: inherit From dd6988c57b462e3304e3c74fe0702ff1807503f3 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 17:09:16 +0000 Subject: [PATCH 5/8] revert test commits --- .github/workflows/cicd-2-publish.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cicd-2-publish.yaml b/.github/workflows/cicd-2-publish.yaml index afa6f1eb6..f3f0ad688 100644 --- a/.github/workflows/cicd-2-publish.yaml +++ b/.github/workflows/cicd-2-publish.yaml @@ -9,7 +9,6 @@ on: branches: - main - hotfix/* - - fix/dev-tagging workflow_dispatch: {} concurrency: @@ -139,11 +138,11 @@ jobs: title: "Pushed to main" version: "${{ needs.metadata.outputs.version }}" -# regression-tests: -# name: "Regression Tests" -# needs: publish -# uses: ./.github/workflows/regression-tests.yml -# with: -# ENVIRONMENT: "dev" -# VERSION_NUMBER: "main" -# secrets: inherit + regression-tests: + name: "Regression Tests" + needs: publish + uses: ./.github/workflows/regression-tests.yml + with: + ENVIRONMENT: "dev" + VERSION_NUMBER: "main" + secrets: inherit From eef49b4308c07a1db25dfed1dbfd3a9c61cb26b3 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 17:11:44 +0000 Subject: [PATCH 6/8] Revert "revert test commits" This reverts commit dd6988c57b462e3304e3c74fe0702ff1807503f3. --- .github/workflows/cicd-2-publish.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cicd-2-publish.yaml b/.github/workflows/cicd-2-publish.yaml index f3f0ad688..afa6f1eb6 100644 --- a/.github/workflows/cicd-2-publish.yaml +++ b/.github/workflows/cicd-2-publish.yaml @@ -9,6 +9,7 @@ on: branches: - main - hotfix/* + - fix/dev-tagging workflow_dispatch: {} concurrency: @@ -138,11 +139,11 @@ jobs: title: "Pushed to main" version: "${{ needs.metadata.outputs.version }}" - regression-tests: - name: "Regression Tests" - needs: publish - uses: ./.github/workflows/regression-tests.yml - with: - ENVIRONMENT: "dev" - VERSION_NUMBER: "main" - secrets: inherit +# regression-tests: +# name: "Regression Tests" +# needs: publish +# uses: ./.github/workflows/regression-tests.yml +# with: +# ENVIRONMENT: "dev" +# VERSION_NUMBER: "main" +# secrets: inherit From ff4c22b5982babec2aab2f14a9a9209cadafd6d1 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Wed, 21 Jan 2026 17:19:50 +0000 Subject: [PATCH 7/8] Reapply "revert test commits" This reverts commit eef49b4308c07a1db25dfed1dbfd3a9c61cb26b3. --- .github/workflows/cicd-2-publish.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cicd-2-publish.yaml b/.github/workflows/cicd-2-publish.yaml index afa6f1eb6..f3f0ad688 100644 --- a/.github/workflows/cicd-2-publish.yaml +++ b/.github/workflows/cicd-2-publish.yaml @@ -9,7 +9,6 @@ on: branches: - main - hotfix/* - - fix/dev-tagging workflow_dispatch: {} concurrency: @@ -139,11 +138,11 @@ jobs: title: "Pushed to main" version: "${{ needs.metadata.outputs.version }}" -# regression-tests: -# name: "Regression Tests" -# needs: publish -# uses: ./.github/workflows/regression-tests.yml -# with: -# ENVIRONMENT: "dev" -# VERSION_NUMBER: "main" -# secrets: inherit + regression-tests: + name: "Regression Tests" + needs: publish + uses: ./.github/workflows/regression-tests.yml + with: + ENVIRONMENT: "dev" + VERSION_NUMBER: "main" + secrets: inherit From 17d19b1f4f47dc488d9dce0e145417c42c6e0541 Mon Sep 17 00:00:00 2001 From: karthikeyannhs <174426205+Karthikeyannhs@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:53:33 +0000 Subject: [PATCH 8/8] fix ordering --- .github/workflows/base-deploy.yml | 2 +- .github/workflows/cicd-3-test-deploy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base-deploy.yml b/.github/workflows/base-deploy.yml index 59abe0538..26a31b4c2 100644 --- a/.github/workflows/base-deploy.yml +++ b/.github/workflows/base-deploy.yml @@ -83,7 +83,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git for-each-ref --sort=-refname --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) + TAG=$(git tag --points-at "$SHA" | grep '^dev-' | sort -r | head -n1 || true) if [ -z "$TAG" ]; then echo "Using the dev tag provided in the input field" >&2 TAG="${{ inputs.ref }}" diff --git a/.github/workflows/cicd-3-test-deploy.yaml b/.github/workflows/cicd-3-test-deploy.yaml index 6292346fa..46c0c6d81 100644 --- a/.github/workflows/cicd-3-test-deploy.yaml +++ b/.github/workflows/cicd-3-test-deploy.yaml @@ -38,7 +38,7 @@ jobs: run: | git fetch --tags --force SHA="${{ github.event.workflow_run.head_sha }}" - TAG=$(git for-each-ref --sort=-refname --format '%(refname:short)' refs/tags | grep '^dev-' | head -n1 || true) + TAG=$(git tag --points-at "$SHA" | grep '^dev-' | sort -r | head -n1 || true) if [ -z "$TAG" ]; then echo "No dev-* tag found on $SHA" >&2 exit 1