From 1890ff3f12f6ec1968baf1a684adc4d7e8866a42 Mon Sep 17 00:00:00 2001 From: Rudolf Kolbe Date: Thu, 21 Dec 2023 22:50:03 +0100 Subject: [PATCH] python-package.yml - restrict release job to master branch --- .github/workflows/python-package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f7c0ac12..531590a7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,6 +33,7 @@ jobs: pytest -v -s release: + if: github.ref == 'refs/heads/master' needs: [test] strategy: fail-fast: false