Skip to content

Commit 01b2a16

Browse files
authored
fix(HELM): Improve autogeneration of annotation (#13879)
1 parent c8cf437 commit 01b2a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-helm-chart.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ jobs:
119119
- name: Update values in HELM chart
120120
if: startsWith(github.head_ref, 'renovate/') || startsWith(github.head_ref, 'dependabot/')
121121
run: |
122-
title=${{ github.event.pull_request.title }}
122+
title='${{ github.event.pull_request.title }}'
123123
chars='{}:[],&*#?|-<>=!%@'
124124
for c in $(echo "$chars" | grep -o .); do
125125
title="${title//"$c"/_}"
126126
done
127-
yq -i '.annotations."artifacthub.io/changes" += "- kind: changed\n description: $title\n"' helm/defectdojo/Chart.yaml
127+
yq -i '.annotations."artifacthub.io/changes" += "- kind: changed\n description: '$title'\n"' helm/defectdojo/Chart.yaml
128128
git add helm/defectdojo/Chart.yaml
129129
git commit -m "ci: update Chart annotations from PR #${{ github.event.pull_request.number }}" || echo "No changes to commit"
130130

0 commit comments

Comments
 (0)