Skip to content

Commit 4d9b6aa

Browse files
authored
Disable token test on forks (#7516)
1 parent e9c97ca commit 4d9b6aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/remoteconfig.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
FirebaseRemoteConfig/Tests/SwiftAPI/GoogleService-Info.plist "$plist_secret"
3333
- name: Generate Access Token for RemoteConfigConsoleAPI in IntegrationTests
3434
if: matrix.target == 'iOS'
35-
run: scripts/generate_access_token.sh "$plist_secret" scripts/gha-encrypted/RemoteConfigSwiftAPI/ServiceAccount.json.gpg
36-
FirebaseRemoteConfig/Tests/SwiftAPI/AccessToken.json
35+
run: ([ -z $plist_secret ] || scripts/generate_access_token.sh "$plist_secret" scripts/gha-encrypted/RemoteConfigSwiftAPI/ServiceAccount.json.gpg
36+
FirebaseRemoteConfig/Tests/SwiftAPI/AccessToken.json)
3737
- name: BuildAndUnitTest # can be replaced with pod lib lint with CocoaPods 1.10
3838
run: scripts/third_party/travis/retry.sh scripts/build.sh RemoteConfig ${{ matrix.target }} unit
3939
- name: Fake Console API Tests

0 commit comments

Comments
 (0)