From 3c8da15612f68b609185abf3662146ea60bf507e Mon Sep 17 00:00:00 2001 From: kcs-bandihareesh <106671992+kcs-bandihareesh@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:14:31 +0530 Subject: [PATCH] Added need condition to deploy snapshots --- .github/workflows/vertx-parent.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vertx-parent.yaml b/.github/workflows/vertx-parent.yaml index 1e2f928..a83f4b2 100644 --- a/.github/workflows/vertx-parent.yaml +++ b/.github/workflows/vertx-parent.yaml @@ -72,7 +72,8 @@ jobs: deploy_snapshots: name: Deploy Snapshots runs-on: ubuntu-20.04 - 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 permissions: contents: 'read' id-token: 'write'