From e36fbb3b329d7cbfdd9d3e271b588395d2d19089 Mon Sep 17 00:00:00 2001 From: Jessy Williams Date: Tue, 15 Aug 2023 15:18:39 -0400 Subject: [PATCH] Restricts publish to main branch --- .github/workflows/push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6e137ef7..155bf122 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -34,6 +34,7 @@ jobs: publish-pypi: if: >- success() + && github.ref == 'refs/heads/main' needs: - lint