From 27a96065ca95134079461ac4ed502444cf1f0a34 Mon Sep 17 00:00:00 2001 From: TrekkieCoder <111065900+TrekkieCoder@users.noreply.github.com> Date: Tue, 3 Oct 2023 09:38:27 +0000 Subject: [PATCH] Update eks.yaml --- .github/workflows/eks.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/eks.yaml b/.github/workflows/eks.yaml index 51e24141e..6a49fbf9f 100644 --- a/.github/workflows/eks.yaml +++ b/.github/workflows/eks.yaml @@ -28,18 +28,12 @@ jobs: run: shell: bash working-directory: ./cicd/eks - + if: github.repository == 'loxilb-io/loxilb' + && github.event.inputs.tagName == '' steps: # Checkout the repository to the GitHub Actions runner - name: Checkout uses: actions/checkout@v3 - - # Run this only on main repo - - name: Check Repo owner - if: github.repository != 'loxilb-io/loxilb' - run: | - gh run cancel ${{ github.run_id }} - gh run watch ${{ github.run_id }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}