Skip to content

Commit

Permalink
Modify Helm lint to run on branch creation, pushes to branch, on pull…
Browse files Browse the repository at this point in the history
… request only to main branch and allow manual triggering with debug flag.
  • Loading branch information
MrSantamaria committed Feb 18, 2025
1 parent 28f409d commit 8c9c0ca
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -53,3 +63,4 @@ jobs:
--all \
--validate-maintainers=false \
--target-branch ${{ github.event.repository.default_branch }}
--debug=${{ inputs.debug }}

0 comments on commit 8c9c0ca

Please sign in to comment.