diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4ddaa905..c13761ac8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,6 @@ jobs: run: pnpm add -g appdmg - name: Install the Apple certificate and provisioning profile - if: runner.os == 'macOS' env: BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} BUILD_CERTIFICATE_MAS_BASE64: ${{ secrets.BUILD_CERTIFICATE_MAS_BASE64 }} @@ -88,6 +87,7 @@ jobs: P12_PASSWORD: ${{ secrets.P12_PASSWORD }} BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }} KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} + if: runner.os == 'macOS' && env.BUILD_CERTIFICATE_BASE64 != '' && env.BUILD_CERTIFICATE_MAS_BASE64 != '' && env.BUILD_CERTIFICATE_MASPKG_BASE64 != '' && env.BUILD_PROVISION_PROFILE_BASE64 != '' run: | # create variables CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ae8f05fdd..e4f312b43 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,18 +7,6 @@ env: VITE_WEB_URL: ${{ vars.VITE_WEB_URL }} VITE_API_URL: ${{ vars.VITE_API_URL }} -permissions: - actions: read - checks: read - contents: read|write|none - deployments: read|write|none - issues: read|write|none - packages: read|write|none - pull-requests: read|write|none - repository-projects: read|write|none - security-events: read|write|none - statuses: read|write|none - name: CI Format, Typecheck and Lint concurrency: group: ${{ github.workflow }}-${{ github.ref }}-lint