From 8522905d97c66507963c617825f70e3ec1f0ea4a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 10 Jul 2023 20:11:51 -0700 Subject: [PATCH] update helm linting workflow --- .github/workflows/helm-lint.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/helm-lint.yml b/.github/workflows/helm-lint.yml index d0895835a..4d8693a81 100644 --- a/.github/workflows/helm-lint.yml +++ b/.github/workflows/helm-lint.yml @@ -1,10 +1,18 @@ -name: Helm Chart Linting -description: Installs helm tooling and validates helm charts +name: Helm Chart linting on: - push: + pull_request: branches: - - master + - master + +# This ensures that previous jobs for the PR are canceled when the PR is +# updated. +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +permissions: + contents: read # This ensures that previous jobs for the PR are canceled when the PR is # updated.