File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,8 @@ jobs:
115115 if : startsWith(github.head_ref, 'renovate/') || startsWith(github.head_ref, 'dependabot/')
116116 run : |
117117 yq -i '.annotations."artifacthub.io/changes" += "- kind: changed\n description: ${{ github.event.pull_request.title }}\n"' helm/defectdojo/Chart.yaml
118+ git add helm/defectdojo/Chart.yaml
119+ git commit -m "ci: update Chart annotations from PR #${{ github.event.pull_request.number }}" || echo "No changes to commit"
118120
119121 - name : Run helm-docs (update)
120122 uses : losisin/helm-docs-github-action@a57fae5676e4c55a228ea654a1bcaec8dd3cf5b5 # v1.6.2
@@ -128,7 +130,7 @@ jobs:
128130 # The helm-docs documentation will be generated for you.
129131 - name : Run helm-docs (check)
130132 uses : losisin/helm-docs-github-action@a57fae5676e4c55a228ea654a1bcaec8dd3cf5b5 # v1.6.2
131- if : ! startsWith(github.head_ref, 'renovate/') || startsWith(github.head_ref, 'dependabot/')
133+ if : ${{ !( startsWith(github.head_ref, 'renovate/') || startsWith(github.head_ref, 'dependabot/')) }}
132134 with :
133135 fail-on-diff : true
134136 chart-search-root : " helm/defectdojo"
You can’t perform that action at this time.
0 commit comments