From b3a5c55bef0e064ff20a670bcd4a221c2cbe598b Mon Sep 17 00:00:00 2001 From: tt2468 Date: Wed, 16 Feb 2022 12:00:01 -0800 Subject: [PATCH] CI: Only codesign when not PR --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 961f40ce..93b7dad7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -367,6 +367,7 @@ jobs: path: ${{ github.workspace }}/obs-studio submodules: 'recursive' - name: 'Install Prerequisite: Binary Signing Certificate' + if: github.event_name != 'pull_request' uses: apple-actions/import-codesign-certs@v1 with: p12-file-base64: ${{ secrets.MACOS_SIGNING_CERT }} @@ -374,6 +375,7 @@ jobs: create-keychain: true keychain-password: ${{ secrets.MACOS_TEMP_CI_KEYCHAIN_PASSWORD }} - name: 'Install Prerequisite: Installer Signing Certificate' + if: github.event_name != 'pull_request' uses: apple-actions/import-codesign-certs@v1 with: p12-file-base64: ${{ secrets.MACOS_INSTALLER_CERT }} @@ -492,6 +494,7 @@ jobs: @executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg \ ./obs-websocket.so - name: 'Sign plugin binary' + if: github.event_name != 'pull_request' shell: bash working-directory: ${{ github.workspace }}/obs-websocket/build run: |