Only run codesign macos from protected triggered pipelines

This commit is contained in:
Joseph Donofry 2022-10-27 17:03:51 -04:00
parent a9424e6bcf
commit ddb3705c50
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -153,7 +153,7 @@ codesign-macos:
rules:
- if : '$CI_COMMIT_BRANCH == "master"'
- if : $CI_COMMIT_TAG
- if : $CI_PIPELINE_TRIGGERED
- if : '$CI_PIPELINE_TRIGGERED && $CI_COMMIT_REF_PROTECTED'
variables:
PLAT: "m1"
artifacts: