From d217d3fa6423cffa5bbf50f069c904946a26fbca Mon Sep 17 00:00:00 2001 From: Charlie Denton Date: Tue, 7 May 2024 17:57:15 +0100 Subject: [PATCH] Only run verify release step on main branch Co-authored-by: Sam Searles-Bryant --- .github/workflows/release-to-pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-to-pypi.yaml b/.github/workflows/release-to-pypi.yaml index 2b69c80..915ae0e 100644 --- a/.github/workflows/release-to-pypi.yaml +++ b/.github/workflows/release-to-pypi.yaml @@ -23,7 +23,7 @@ jobs: name: Verify versions runs-on: ubuntu-22.04 timeout-minutes: 5 - if: github.repository_owner == 'kraken-tech' # && github.ref == 'refs/heads/main' + if: github.repository_owner == 'kraken-tech' && github.ref == 'refs/heads/main' steps: - name: Clone the code