diff --git a/.github/workflows/publish-helm-chart.yaml b/.github/workflows/publish-helm-chart.yaml index fef04c160..0b2a7fbc9 100644 --- a/.github/workflows/publish-helm-chart.yaml +++ b/.github/workflows/publish-helm-chart.yaml @@ -75,7 +75,7 @@ jobs: echo "::set-output name=tag::$latest_tag" - name: Repository Dispatch Publish docs - if: github.event.client_payload.action == 'chart-and-app-release' + if: github.event.client_payload.action == 'chart-and-app-release' && !contains(steps.latest_tag.outputs.tag, 'rc') uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.GITHUB_TOKEN }}