From 295c9dddd10b368554b051a36ada50621fc8a0c1 Mon Sep 17 00:00:00 2001 From: chenk Date: Thu, 23 Nov 2023 12:01:01 +0200 Subject: [PATCH] chore: add condition for docs publish (#1654) Signed-off-by: chenk --- .github/workflows/publish-helm-chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}