From 4acff50ee7b612c8d534614c8829e3544f18ace8 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 3 Jan 2019 00:48:38 +0100 Subject: [PATCH] build: remove obsolete publish snapshots check (#14638) * Since we now have proper branch filters for all CircleCI jobs, the logic that determines whether the "publish_snapshots" job should run, can be removed safely. --- .circleci/config.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f86637c522..a20ee779c87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -283,13 +283,6 @@ jobs: publish_snapshots: <<: *job_defaults steps: - # Since CircleCI currently does not have any way to easily restrict jobs to only run - # for push builds, we need to manually skip publishing if the jobs runs for a PR. - # https://discuss.circleci.com/t/workflows-pull-request-filter/14396/11 - - run: - name: Check whether this job should be skipped. - command: '[[ -n ${CIRCLE_PR_NUMBER} ]] && circleci step halt || true' - - *checkout_code - *restore_cache - *yarn_install