From 9d69923c93a9a0332ab8f08afa0225833b2730b0 Mon Sep 17 00:00:00 2001 From: Jason Meridth Date: Mon, 24 Oct 2022 16:48:00 -0500 Subject: [PATCH] fix(github): Use hardcoded version for helm (#1573) - [x] use stable version of helm for azure/setup-helm github action - [x] match to v3 for azure/setup-helm usage (in linting action) Signed-off-by: jmeridth Signed-off-by: jmeridth --- .github/workflows/lint-and-test.yml | 6 ++++-- .github/workflows/publish.yml | 5 ++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 2eb2beb1..605c9f9e 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -15,7 +15,9 @@ jobs: fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 + with: + version: v3.10.1 # Also update in publish.yaml - name: Set up python uses: actions/setup-python@v4 @@ -59,7 +61,7 @@ jobs: if: steps.list-changed.outputs.changed == 'true' with: config: .github/configs/kind-config.yaml - + - name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions if: | contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') || diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8333a66d..901c2f63 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,8 +22,7 @@ jobs: - name: Install Helm uses: azure/setup-helm@v3 with: - version: latest # stable - token: ${{ secrets.GITHUB_TOKEN }} # only needed if version is 'latest' + version: v3.10.1 # Also update in lint-and-test.yaml - name: Add dependency chart repos run: | @@ -32,7 +31,7 @@ jobs: - name: Configure Git run: | git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" ## This is required to consider the old Circle-CI Index and to stay compatible with all the old releases. - name: Fetch current Chart Index