From 158813e5e5554f4204c54278194ff3c9b3160640 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Mon, 5 Aug 2024 11:13:09 -0400 Subject: [PATCH] Remove artifacthub-repo.yml and try to fix CI Signed-off-by: Andriy Redko --- .github/workflows/test.yml | 11 ++++++----- artifacthub-repo.yml | 3 --- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 artifacthub-repo.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eb3436..d638488 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Set up Helm - uses: azure/setup-helm@v3 + uses: azure/setup-helm@v4 with: version: v3.14.1 @@ -41,21 +41,22 @@ jobs: python-version: '3.10' - name: Set up chart-testing - uses: helm/chart-testing-action@v2 + uses: helm/chart-testing-action@v2.6.1 - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed) + changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then - echo "changed=true" >> $GITHUB_OUTPUT + echo "changed=true" >> "$GITHUB_OUTPUT" fi - name: Run chart-testing (lint) run: ct lint --config .github/ct.yml + if: steps.list-changed.outputs.changed == 'true' - name: Create kind cluster - uses: helm/kind-action@v1 + uses: helm/kind-action@v1.10.0 if: steps.list-changed.outputs.changed == 'true' - name: Setup helmfile diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml deleted file mode 100644 index 247ff39..0000000 --- a/artifacthub-repo.yml +++ /dev/null @@ -1,3 +0,0 @@ -owners: - - name: reta - email: drreta@gmail.com