From 00e8be08225cc98efddbaf903c0c7fe87323c4f7 Mon Sep 17 00:00:00 2001 From: kcs-bandihareesh <106671992+kcs-bandihareesh@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:58:57 +0530 Subject: [PATCH] Added need condition to deploy snapshots --- .github/workflows/database-goodies.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/database-goodies.yaml b/.github/workflows/database-goodies.yaml index eba7089..3d57e5c 100644 --- a/.github/workflows/database-goodies.yaml +++ b/.github/workflows/database-goodies.yaml @@ -73,7 +73,8 @@ jobs: deploy-snapshots: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' && github.event_name == 'push' + if: github.repository == 'susom/database-goodies' && github.ref == 'refs/heads/master' && github.event_name == 'push' + needs: test steps: - name: Checkout code uses: actions/checkout@v4