File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 lint :
13- name : Lint chart
13+ name : Lint chart (version)
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout
7373 # - name: Run chart-testing (install)
7474 # run: ct install --config ct.yaml --target-branch ${{ env.ct-branch }} --helm-extra-args '--set createSecret=true --set createRabbitMqSecret=true --set createPostgresqlSecret=true --set timeout=900'
7575 # if: env.changed == 'true'
76+
77+ docs generation :
78+ name : Update documentation
79+ runs-on : ubuntu-latest
80+ steps :
81+ - name : Checkout
82+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
83+
84+ - name : Run helm-docs
85+ uses : losisin/helm-docs-github-action@a57fae5676e4c55a228ea654a1bcaec8dd3cf5b5 # v1.6.2
86+ with :
87+ fail-on-diff : true
88+ chart-search-root : " helm/defectdojo"
89+
90+ generate schema :
91+ name : Update schema
92+ runs-on : ubuntu-latest
93+ steps :
94+ - name : Checkout
95+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
96+
97+ - name : Generate values schema json
98+ uses : losisin/helm-values-schema-json-action@28b1b33dcd9bd10bb8157627566f3971313a8872 # v2.0.4
99+ with :
100+ fail-on-diff : true
101+ working-directory : " helm/defectdojo"
102+ useHelmDocs : true
103+ lint format :
104+ name : Lint chart (format)
105+ runs-on : ubuntu-latest
106+ steps :
107+ - name : Checkout
108+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109+ with :
110+ persist-credentials : false
111+ fetch-depth : 0
112+
113+ - name : Set up Helm
114+ uses : azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
115+
116+ - name : Lint
117+ run : |-
118+ helm lint ./helm/defectdojo --strict
You can’t perform that action at this time.
0 commit comments