Merge pull request #2582 from headlamp-k8s/helm-sc-fix #313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Template test Helm charts | |
on: | |
pull_request: | |
paths: | |
- charts/** | |
- '!charts/**/README.md' | |
push: | |
branches: | |
- main | |
- rc-* | |
- testing-rc-* | |
permissions: | |
contents: read | |
jobs: | |
lint-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@18bc76811624f360dbd7f18c2d4ecb32c7b87bab # v1.1 | |
with: | |
version: v3.7.0 | |
- uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4 | |
with: | |
python-version: 3.7 | |
- name: Run template testing script | |
run: | | |
export SHELL=/bin/bash | |
make helm-template-test | |