workable test for remote PRs

This commit is contained in:
Jacob Heider 2023-02-22 19:07:17 -05:00
parent 1f46416a62
commit b16629a131
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -83,7 +83,7 @@ jobs:
# sign macOS binaries
- uses: teaxyz/pantry.core/.github/actions/apple-signing@main
if: startsWith(inputs.platform, 'darwin+') && startsWith(github.repository, 'teaxyz')
if: startsWith(inputs.platform, 'darwin+') && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
with:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}