From 1d7b71a14172f560a58fa9a66a877c7638f8124c Mon Sep 17 00:00:00 2001 From: Nick Logozzo Date: Tue, 6 Feb 2024 23:36:28 -0500 Subject: [PATCH] Update snap.yaml --- .github/workflows/snap.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index 25a94bd4..3a2b1f8a 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -26,6 +26,7 @@ jobs: path: ${{ steps.snapcraft-build.outputs.snap }} - name: Upload and Release Edge uses: snapcore/action-publish@v1 + if: ${{ github.event.pull_request.head.ref == 'main' }} env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} with: