From 6a5fe466696981d276d215b06707b379790af38b Mon Sep 17 00:00:00 2001 From: Dan Rollo Date: Wed, 9 Mar 2022 16:46:42 -0500 Subject: [PATCH] prevent manual_release job on non-main branches. partial fix for #108 (#115) --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 194a53a..2cdb182 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -133,6 +133,9 @@ workflows: jobs: - manual_release: type: approval + filters: + branches: + only: main - release_and_pypi_publish: requires: - manual_release