Skip to content

Commit 7a969c6

Browse files
bladata1990claude
andcommitted
Revert merge.yml changes — remove feature branch trigger and non-main tag logic
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: bladata1990 <balakrishnan.r@atlan.com>
1 parent 6a90894 commit 7a969c6

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/merge.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66

77
on:
88
push:
9-
branches: [main, feature/rab-complex-type-nested-columns]
9+
branches: [main]
1010
workflow_dispatch:
1111
inputs:
1212
branch:
@@ -230,13 +230,9 @@ jobs:
230230
# For manual runs, use version and branch name (sanitized)
231231
BRANCH_NAME=$(echo "${{ github.event.inputs.branch }}" | sed 's/[^a-zA-Z0-9._-]/-/g')
232232
echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }}-${BRANCH_NAME}" >> $GITHUB_OUTPUT
233-
elif [ "${{ github.ref }}" = "refs/heads/main" ]; then
233+
else
234234
# For main branch pushes, use version and latest
235235
echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }},ghcr.io/atlanhq/atlan-java:latest" >> $GITHUB_OUTPUT
236-
else
237-
# For non-main branch pushes, use version and branch name
238-
BRANCH_NAME=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9._-]/-/g')
239-
echo "tags=ghcr.io/atlanhq/atlan-java:${{ needs.merge-build.outputs.version }}-${BRANCH_NAME}" >> $GITHUB_OUTPUT
240236
fi
241237
- name: Build and publish container image
242238
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
@@ -275,4 +271,4 @@ jobs:
275271
with:
276272
package_name: ${{ matrix.package_name }}
277273
version: ${{ needs.merge-build.outputs.version }}
278-
branch: ${{ github.event.inputs.branch || (github.ref != 'refs/heads/main' && github.ref_name) || '' }}
274+
branch: ${{ github.event.inputs.branch || '' }}

0 commit comments

Comments
 (0)