From 4f84566241c3a1aacac45afaf41f85ae15b841ec Mon Sep 17 00:00:00 2001 From: Peter Darton Date: Fri, 12 Jan 2024 14:20:38 +0000 Subject: [PATCH] Don't dev-publish for forked-PRs. Only pack if tests worked --- .circleci/test-deploy.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) mode change 100755 => 100644 .circleci/test-deploy.yml diff --git a/.circleci/test-deploy.yml b/.circleci/test-deploy.yml old mode 100755 new mode 100644 index 3f49757..16bdc96 --- a/.circleci/test-deploy.yml +++ b/.circleci/test-deploy.yml @@ -11,25 +11,29 @@ workflows: jobs: - orb-tools-alpha/lint: filters: *filters - - orb-tools-alpha/pack: - filters: *filters - orb-tools-alpha/review: filters: *filters + - orb-tools-alpha/pack: + filters: *filters + requires: + - orb-tools-alpha/lint + - orb-tools-alpha/review - orb-tools-alpha/publish: name: publish_dev_test orb_name: circleci/orb-tools vcs_type: <> pub_type: dev github_token: GHI_TOKEN - requires: - [orb-tools-alpha/lint, orb-tools-alpha/review, orb-tools-alpha/pack] + requires: [orb-tools-alpha/pack] context: orb-publisher + filters: + branches: + ignore: /pull/[0-9]+/ - orb-tools-alpha/publish: orb_name: circleci/orb-tools vcs_type: <> pub_type: production - requires: - [orb-tools-alpha/lint, orb-tools-alpha/review, orb-tools-alpha/pack, publish_dev_test] + requires: [orb-tools-alpha/pack] context: orb-publisher github_token: GHI_TOKEN filters: