Enable signing for PRs that have secret access (#15331)

* Enable signing for PRs that have secret access

* Add CSC_FOR_PULL_REQUEST var as well
This commit is contained in:
Chris Marslender 2023-05-18 11:18:45 -07:00 committed by GitHub
parent 9e9c75912f
commit 7aed9ddc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,8 @@ if [ "$NOTARIZE" == true ]; then
echo "Setting credentials for signing"
export CSC_LINK=$APPLE_DEV_ID_APP
export CSC_KEY_PASSWORD=$APPLE_DEV_ID_APP_PASS
export PUBLISH_FOR_PULL_REQUEST=true
export CSC_FOR_PULL_REQUEST=true
else
echo "Not on ci or no secrets so not signing"
export CSC_IDENTITY_AUTO_DISCOVERY=false