1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

feat: lint Helm charts for Artifact Hub (#6758)

Signed-off-by: Liang Deng <283304489@qq.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Liang Deng 2023-04-03 15:56:52 +08:00 committed by GitHub
parent b4a4e3a4f3
commit 0be5255be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -24,6 +24,18 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --target-branch=main --check-version-increment=false
linter-artifacthub:
runs-on: ubuntu-latest
container:
image: artifacthub/ah
options: --user root
steps:
- name: Checkout
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: Run ah lint
working-directory: ./charts/
run: ah lint
create-release:
runs-on: ubuntu-latest
needs: helm-tests

View file

@ -42,3 +42,15 @@ jobs:
- name: Debug failure
if: failure()
uses: ./.github/actions/kyverno-logs
linter-artifacthub:
runs-on: ubuntu-latest
container:
image: artifacthub/ah
options: --user root
steps:
- name: Checkout
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: Run ah lint
working-directory: ./charts/
run: ah lint