From bf61a8e227311b3bc2fecd53823e4c1b37eb4a6d Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Wed, 4 Oct 2023 20:27:16 +0100 Subject: [PATCH] Fix if statement --- .github/workflows/release-chart.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index 6f29efc..b328850 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -51,8 +51,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@4b85f2c82c80ff4284ff8520f47bbe69dd89b0aa - if: github.ref != 'refs/heads/main' - if: github.repository == 'PostHog/HouseWatch' + if: github.ref == 'refs/heads/main' && github.repository == 'PostHog/HouseWatch' env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" with: