@@ -24,7 +24,7 @@ concurrency:
24
24
jobs :
25
25
specs_checking :
26
26
# 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)
28
28
runs-on : macos-15
29
29
env :
30
30
botaccess : ${{ secrets.PRERELEASE_TESTING_PAT }}
88
88
buildup_SpecsTesting_repo_FirebaseCore :
89
89
needs : specs_checking
90
90
# 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)
92
92
runs-on : macos-15
93
93
env :
94
94
botaccess : ${{ secrets.PRERELEASE_TESTING_PAT }}
@@ -127,7 +127,7 @@ jobs:
127
127
buildup_SpecsTesting_repo :
128
128
needs : [buildup_SpecsTesting_repo_FirebaseCore, specs_checking]
129
129
# 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)
131
131
runs-on : macos-15
132
132
strategy :
133
133
fail-fast : false
@@ -218,7 +218,7 @@ jobs:
218
218
# TODO: The functions quickstart uses Material which isn't supported by Xcode 15
219
219
# functions_quickstart:
220
220
# 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)
222
222
# needs: buildup_SpecsTesting_repo
223
223
# env:
224
224
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -255,7 +255,7 @@ jobs:
255
255
256
256
quickstart :
257
257
# 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)
259
259
needs : buildup_SpecsTesting_repo
260
260
strategy :
261
261
matrix :
0 commit comments