diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 08e300a..aa3e458 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - DRY_RUN: ${{ github.ref == 'refs/heads/main' && '' || '1' }} + DRY_RUN: ${{ github.ref != 'refs/heads/main' && '1' || '' }} - if: github.ref == 'refs/heads/main' run: mage index https://github.com/tetratelabs/helm-charts/releases/download - if: github.ref == 'refs/heads/main'