From 94fc61671e64f810d8e1eae905ca81d4b7b803c3 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 5 Dec 2022 18:19:27 +0100 Subject: [PATCH] fix(ci): skip signing on PRs --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124ab2a20..33ba7de19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,6 +197,11 @@ jobs: uses: dawidd6/action-get-tag@12319896edaa290b27558e34a177804e9b8d077b # v1 continue-on-error: true # empty steps.tag.outputs.tag will inform the next step + - name: Disable macOS signing if pull_request + if: github.event_name == 'pull_request' && runner.os == 'macOS' + run: export CSC_IDENTITY_AUTO_DISCOVERY=false + shell: bash + - name: Build binaries with electron-builder uses: samuelmeuli/action-electron-builder@92327c67bc45ff7c38bf55d8aa8c4d75b7ea38e7 # v1.6.0 but safer than a tag that can be changed with: