@@ -24,7 +24,7 @@ concurrency:
2424jobs :
2525  specs_checking :
2626    #  Don't run on private repo unless it is a PR.
27-     if : (github.repository == 'Firebase /firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' workflow_dispatch'  
27+     if : (github.repository == 'firebase /firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", " workflow_dispatch"]'), github.event_name)  
2828    runs-on : macos-15 
2929    env :
3030      botaccess : ${{ secrets.PRERELEASE_TESTING_PAT }} 
8888buildup_SpecsTesting_repo_FirebaseCore :
8989    needs : specs_checking 
9090    #  Don't run on private repo unless it is a PR.
91-     if : (github.repository == 'Firebase /firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' workflow_dispatch'  
91+     if : (github.repository == 'firebase /firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", " workflow_dispatch"]'), github.event_name)  
9292    runs-on : macos-15 
9393    env :
9494      botaccess : ${{ secrets.PRERELEASE_TESTING_PAT }} 
@@ -127,7 +127,7 @@ jobs:
127127  buildup_SpecsTesting_repo :
128128    needs : [buildup_SpecsTesting_repo_FirebaseCore, specs_checking] 
129129    #  Don't run on private repo unless it is a PR.
130-     if : (github.repository == 'Firebase /firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' workflow_dispatch'  
130+     if : (github.repository == 'firebase /firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", " workflow_dispatch"]'), github.event_name)  
131131    runs-on : macos-15 
132132    strategy :
133133      fail-fast : false 
@@ -218,7 +218,7 @@ jobs:
218218#  TODO: The functions quickstart uses Material which isn't supported by Xcode 15
219219  # functions_quickstart:
220220    #  Don't run on private repo unless it is a PR.
221-     #  if: (github.repository == 'Firebase /firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' workflow_dispatch' 
221+     #  if: (github.repository == 'firebase /firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", " workflow_dispatch"]'), github.event_name) 
222222    #  needs: buildup_SpecsTesting_repo
223223    #  env:
224224    #    plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -255,7 +255,7 @@ jobs:
255255
256256  quickstart :
257257    #  Don't run on private repo unless it is a PR.
258-     if : (github.repository == 'Firebase /firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' workflow_dispatch'  
258+     if : (github.repository == 'firebase /firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", " workflow_dispatch"]'), github.event_name)  
259259    needs : buildup_SpecsTesting_repo 
260260    strategy :
261261      matrix :
0 commit comments