mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
a2da811b00
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
30 lines
822 B
YAML
30 lines
822 B
YAML
name: helm-test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- release*
|
|
paths:
|
|
- charts/**
|
|
- .github/workflows/helm-test.yaml
|
|
|
|
jobs:
|
|
helm-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 # v4.4.0
|
|
with:
|
|
python-version: 3.7
|
|
- name: Set up chart-testing
|
|
uses: helm/chart-testing-action@afea100a513515fbd68b0e72a7bb0ae34cb62aec # v2.3.1
|
|
- name: Run chart-testing (lint)
|
|
run: |
|
|
if [[ $(ct list-changed --target-branch=main) ]];
|
|
then
|
|
ct lint --target-branch=main --check-version-increment=false
|
|
fi
|