From d4f19be4ab4830def1d49f8b5d80ad49d022e4ae Mon Sep 17 00:00:00 2001 From: Randsw Date: Thu, 26 Oct 2023 13:24:33 +0300 Subject: [PATCH] ci: Chart release only on push. Remove TOKEN from checkout. see - https://github.com/actions/checkout/issues/298 --- .github/workflows/helm-chart-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-chart-test.yaml b/.github/workflows/helm-chart-test.yaml index da5672f..d83f78b 100644 --- a/.github/workflows/helm-chart-test.yaml +++ b/.github/workflows/helm-chart-test.yaml @@ -22,7 +22,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.SEMANTIC_TOKEN }} - name: Set up Helm uses: azure/setup-helm@v3 @@ -57,6 +56,7 @@ jobs: if: steps.changed-files-helm-chart.outputs.helm_any_changed == 'true' Release: + if: ${{ github.event_name == 'push' }} runs-on: ubuntu-latest needs: Lint-test steps: