Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Add helm chart linting to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Sep 19, 2023
1 parent 432ad8d commit 5046c18
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/charts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Helm Charts CI

on:
push:
pull_request:

jobs:
lint:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Setup Helm
uses: azure/[email protected]

- name: Setup chart-testing
uses: helm/[email protected]

- name: Lint
run: >
ct
lint
--target-branch=${{ github.event.repository.default_branch }}
--validate-maintainers=false

0 comments on commit 5046c18

Please sign in to comment.