From 992b27900e544640a3569921c194d8be72d71449 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 24 May 2021 23:30:05 +0200 Subject: [PATCH] fixed dependabot PR checks --- .github/workflows/docs.yml | 1 + scripts/build-macos.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 318f168b..70d22720 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,7 @@ on: push jobs: build: runs-on: ubuntu-18.04 + if: ${{ github.actor != 'dependabot[bot]' }} steps: - name: Checkout diff --git a/scripts/build-macos.js b/scripts/build-macos.js index 7effd521..1fda44ed 100755 --- a/scripts/build-macos.js +++ b/scripts/build-macos.js @@ -6,6 +6,12 @@ const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/') process.env.ARCH = process.env.ARCH || process.arch +if (process.env.GITHUB_HEAD_REF) { + delete process.env.CSC_LINK + delete process.env.CSC_KEY_PASSWORD + process.env.CSC_IDENTITY_AUTO_DISCOVERY = 'false' +} + builder({ dir: true, mac: ['pkg', 'zip'],