From 8ffb5498a2ad78402233dfb79ff6bd825b9db74c Mon Sep 17 00:00:00 2001 From: Habiba Zaman <> Date: Tue, 5 Dec 2023 01:42:33 -0330 Subject: [PATCH] remove vars step --- .github/workflows/.merge.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/.merge.yml b/.github/workflows/.merge.yml index b4e3d57..ad3a847 100644 --- a/.github/workflows/.merge.yml +++ b/.github/workflows/.merge.yml @@ -11,28 +11,6 @@ concurrency: cancel-in-progress: true jobs: - # Find initial PR number (for merge queues) - vars: - name: Build and Deploy Vars - outputs: - tag: ${{ steps.deploys.outputs.tag }} - runs-on: ubuntu-22.04 - steps: - - name: Set Variables - id: deploys - run: | - # Get PR number (different process for merge queue) - if [ ${{ github.event_name }} == 'pull_request' ] - then - tag=${{ github.event.number }} - else - tag=$(echo ${{ github.event.merge_group.head_ref }} | grep -Eo "queue/main/pr-[0-9]+" | cut -d '-' -f2) - fi - - echo "Summary ---" - echo -e "\tTag (PR no): ${tag}" - echo "tag=${tag}" >> $GITHUB_OUTPUT - # https://github.com/bcgov-nr/action-builder-ghcr builds: name: Builds @@ -49,8 +27,7 @@ jobs: with: keep_versions: 50 package: ${{ matrix.package }} - tag: ${{ needs.vars.outputs.tag }} - tag_fallback: latest + tag: latest triggers: ('${{ matrix.package }}/')