File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Inputs:
1313* ` branch ` The branch to publish charts, defaults to ` gh-pages `
1414* ` target_dir ` The target directory to store the charts, defaults to ` . `
1515* ` helm_version ` The Helm CLI version, defaults to the latest release
16+ * ` helm_version ` The Helm CLI version, defaults to the latest release
17+ * ` linting ` Toggle Helm linting, can be disabled by setting it to ` off `
1618
1719## Examples
1820
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ inputs:
2929 helm_version :
3030 description : " The Helm CLI version"
3131 required : false
32+ linting :
33+ description : " Toggle Helm linting, can be disabled by setting it to 'off'"
34+ required : false
3235runs :
3336 using : ' docker'
3437 image : ' Dockerfile'
4144 - ${{ inputs.branch }}
4245 - ${{ inputs.target_dir }}
4346 - ${{ inputs.helm_version }}
47+ - ${{ inputs.linting }}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ REPOSITORY=$5
2525BRANCH=$6
2626TARGET_DIR=$7
2727HELM_VERSION=$8
28+ LINTING=$9
2829
2930CHARTS=()
3031CHARTS_TMP_DIR=$( mktemp -d)
@@ -71,7 +72,9 @@ main() {
7172 locate
7273 download
7374 dependencies
74- lint
75+ if [[ " $LINTING " != " off" ]]; then
76+ lint
77+ fi
7578 package
7679 upload
7780}
You can’t perform that action at this time.
0 commit comments