Skip to content

Commit a5e0eaf

Browse files
committed
fix(HELM): Improve autogeneration of annotation
1 parent ee9ee74 commit a5e0eaf

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
@@ -114,12 +114,12 @@ jobs:
114114
- name: Update values in HELM chart
115115
if: startsWith(github.head_ref, 'renovate/') || startsWith(github.head_ref, 'dependabot/')
116116
run: |
117-
title=${{ github.event.pull_request.title }}
117+
title='${{ github.event.pull_request.title }}'
118118
chars='{}:[],&*#?|-<>=!%@'
119119
for c in $(echo "$chars" | grep -o .); do
120120
title="${title//"$c"/_}"
121121
done
122-
yq -i '.annotations."artifacthub.io/changes" += "- kind: changed\n description: $title\n"' helm/defectdojo/Chart.yaml
122+
yq -i '.annotations."artifacthub.io/changes" += "- kind: changed\n description: '$title'\n"' helm/defectdojo/Chart.yaml
123123
git add helm/defectdojo/Chart.yaml
124124
git commit -m "ci: update Chart annotations from PR #${{ github.event.pull_request.number }}" || echo "No changes to commit"
125125

0 commit comments

Comments
 (0)