From 8953ab8c713c7f67cc3b99c08a4a631003d089a4 Mon Sep 17 00:00:00 2001 From: Shai Reznik Date: Mon, 4 Nov 2024 19:16:18 +0200 Subject: [PATCH] make continues-release depends on test --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c80f20d5..f85c0dce8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,10 @@ name: Test on: - - push - - pull_request + pull_request: + push: + branches: + - main jobs: test: @@ -32,8 +34,9 @@ jobs: chromatic_token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} continuous-release: - runs-on: ubuntu-latest if: github.event_name == 'pull_request' + needs: test + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup