File tree Expand file tree Collapse file tree 3 files changed +19
-30
lines changed
Expand file tree Collapse file tree 3 files changed +19
-30
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Release Charts
22
33on :
44 workflow_run :
5- workflows : [ "Test Charts" ]
6- branches : [ main ]
5+ workflows :
6+ - Test Charts
7+ branches :
8+ - main
79 types :
810 - completed
911
2729 - name : Run chart-releaser
2830 uses : helm/chart-releaser-action@v1.6.0
2931 env :
30- CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
32+ CR_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
Original file line number Diff line number Diff line change 11name : Test Charts
22
3- on : ["push", "pull_request"]
3+ on :
4+ - push
5+ - pull_request
46
57jobs :
68 test :
1012 uses : actions/checkout@v2
1113 with :
1214 fetch-depth : 0
15+
1316 - name : Test Chart
14- uses : d3adb5/helm-unittest-action@v2
17+ uses : d3adb5/helm-unittest-action@v2.5.0
1518 with :
16- helm-version : ' v3.11.2'
19+ helm-version : v4.1.0
20+
21+ # validate YAML files with JSON schema
22+ - name : Install the JSON Schema CLI
23+ uses : sourcemeta/jsonschema@v14.7.0
24+ - name : validate every Chart.yaml
25+ run : |-
26+ allCharts=$(find charts/ -name Chart.yaml -printf '%p ')
27+ jsonschema validate chart-schema.json ${allCharts} --http
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments