From b1e5cfcf0ff2587bbfd79b242464fee340a35025 Mon Sep 17 00:00:00 2001 From: Ashutosh Gangwar Date: Fri, 22 May 2020 17:51:04 +0530 Subject: [PATCH] ci(travis): disable fastlane metadata validation job on PRs secrets are not available on PR builds from forks. The job however requires secrets to be present. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index a674bbfe9..76dabdff8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,6 +100,7 @@ jobs: - TEST_PLATFORM="fastlane-metadata" install: skip script: bundle exec fastlane validate + if: env(TRAVIS_PULL_REQUEST) # because secrets are not available on fork branches - <<: *fastlane-config stage: deploy script: bundle exec fastlane beta