From ddec80b080a632f12c840424458b8d6dd03e1967 Mon Sep 17 00:00:00 2001 From: Pengyuan Zhao Date: Thu, 22 Feb 2024 17:02:53 -0500 Subject: [PATCH] chore: fix trigger release (#1558) --- .github/workflows/test-build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index cfaa4deb8..d4e562f85 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -80,15 +80,14 @@ jobs: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK trigger-release: + needs: run-tests + if: github.ref_name == 'main' runs-on: ubuntu-latest - container: - image: techallylw/ally-releases:1.21.0 steps: - name: Checkout repository uses: actions/checkout@v4 - name: Trigger release - if: github.ref == 'refs/heads/main' env: GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}