From 8c9c0cafc271b6a21f97616bb8bf6099f6526048 Mon Sep 17 00:00:00 2001 From: Diego Santamaria Date: Tue, 18 Feb 2025 12:00:30 -0700 Subject: [PATCH] Modify Helm lint to run on branch creation, pushes to branch, on pull request only to main branch and allow manual triggering with debug flag. --- .github/workflows/helm-lint.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-lint.yml b/.github/workflows/helm-lint.yml index 2daef2457..f18a5af93 100644 --- a/.github/workflows/helm-lint.yml +++ b/.github/workflows/helm-lint.yml @@ -3,7 +3,17 @@ # More info at https://github.com/helm/chart-testing-action name: Lint Helm Charts -on: pull_request +on: + create: + push: + pull_request: + branches: + - main + workflow_dispatch: + inputs: + debug: + required: false + default: "false" jobs: lint-test: @@ -53,3 +63,4 @@ jobs: --all \ --validate-maintainers=false \ --target-branch ${{ github.event.repository.default_branch }} + --debug=${{ inputs.debug }}