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+ values : values.yaml
104+
105+ lint_format :
106+ name : Lint chart (format)
107+ runs-on : ubuntu-latest
108+ steps :
109+ - name : Checkout
110+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111+ with :
112+ persist-credentials : false
113+ fetch-depth : 0
114+
115+ - name : Set up Helm
116+ uses : azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
117+
118+ - name : Configure Helm repos
119+ run : |-
120+ helm repo add bitnami https://charts.bitnami.com/bitnami
121+ helm dependency list ./helm/defectdojo
122+ helm dependency update ./helm/defectdojo
123+
124+ - name : Lint
125+ run : |-
126+ helm lint ./helm/defectdojo --strict
You can’t perform that action at this time.
0 commit comments