From 76d7d5d12c70274b4d43a556e08a862ad3049541 Mon Sep 17 00:00:00 2001 From: Olha Yevtushenko Date: Tue, 7 Nov 2023 15:04:37 +0200 Subject: [PATCH] ci: run helm lint only on push to branches --- .github/workflows/helm-lint.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-lint.yaml b/.github/workflows/helm-lint.yaml index 99773dd6..0c3491d7 100644 --- a/.github/workflows/helm-lint.yaml +++ b/.github/workflows/helm-lint.yaml @@ -1,8 +1,15 @@ --- name: Helm Lint -on: [push] +on: + # `ct lint` does not work well with tag references on releases. + # OTOH, Helm linting on tags is not necessary so long as it + # happens on push to branches. + push: + branches: + - '**' + jobs: - lintAllTheThings: + lint: runs-on: ubuntu-latest steps: - name: Checkout