Skip to content

Commit 10c2d51

Browse files
authored
feat(helm): Hint for correct "artifacthub.io/changes" syntax (#13397)
1 parent 117fc42 commit 10c2d51

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
target_annotation=$(git show "${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)
8080
8181
if [[ "$current_annotation" == "$target_annotation" ]]; then
82-
echo "::error file=helm/defectdojo/Chart.yaml::The 'artifacthub.io/changes' annotation has not been updated compared to ${{ env.ct-branch }}"
82+
echo "::error file=helm/defectdojo/Chart.yaml::The 'artifacthub.io/changes' annotation has not been updated compared to ${{ env.ct-branch }}. For more, check the hint in 'helm/defectdojo/Chart.yaml'"
8383
exit 1
8484
fi
8585

helm/defectdojo/Chart.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,20 @@ dependencies:
1818
repository: "oci://us-docker.pkg.dev/os-public-container-registry/defectdojo"
1919
condition: redis.enabled
2020
annotations:
21+
# For correct syntax, check https://artifacthub.io/docs/topics/annotations/helm/
22+
# This is example for "artifacthub.io/changes"
23+
# artifacthub.io/changes: |
24+
# - kind: added
25+
# description: Cool feature
26+
# - kind: fixed
27+
# description: Minor bug
28+
# - kind: changed
29+
# description: Broken feature
30+
# - kind: removed
31+
# description: Old bug
32+
# - kind: deprecated
33+
# description: Not-needed feature
34+
# - kind: security
35+
# description: Critical bug
2136
artifacthub.io/prerelease: "true"
2237
artifacthub.io/changes: ""

0 commit comments

Comments
 (0)