Skip to content

Commit 239e2fe

Browse files
devversionjosephperrott
authored andcommitted
build: remove obsolete publish snapshots check (angular#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.
1 parent 36aa25f commit 239e2fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.circleci/config.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,6 @@ jobs:
283283
publish_snapshots:
284284
<<: *job_defaults
285285
steps:
286-
# Since CircleCI currently does not have any way to easily restrict jobs to only run
287-
# for push builds, we need to manually skip publishing if the jobs runs for a PR.
288-
# https://discuss.circleci.com/t/workflows-pull-request-filter/14396/11
289-
- run:
290-
name: Check whether this job should be skipped.
291-
command: '[[ -n ${CIRCLE_PR_NUMBER} ]] && circleci step halt || true'
292-
293286
- *checkout_code
294287
- *restore_cache
295288
- *yarn_install

0 commit comments

Comments
 (0)