Skip to content

Commit 6674354

Browse files
committed
Make example change to generic chart
1 parent f3817f8 commit 6674354

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/diff-changes.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,22 @@ jobs:
6565
DIFF=$(diff -r base/ head/)
6666
6767
if [ -z "$DIFF" ]; then
68-
cat <<EOF > pr.md
69-
No changes detected in rendered charts.
68+
cat <<'EOF' > pr.md
69+
No changes detected in rendered charts.
7070
EOF
7171
else
72-
cat <<EOF > pr.md
73-
<details>
74-
<summary>Rendered charts diff</summary>
75-
This PR results in the following changes to rendered charts:
72+
cat <<'EOF' > pr.md
73+
<details>
74+
<summary>Rendered charts diff</summary>
75+
This PR results in the following changes to rendered charts:
7676
77-
```diff
78-
${DIFF}
79-
```
80-
</details>
77+
```diff
8178
EOF
79+
{
80+
echo "$DIFF"
81+
echo '```'
82+
echo '</details>'
83+
} >> pr.md
8284
fi
8385
8486
gh pr comment "${{github.event.pull_request.html_url}}" --create-if-none --edit-last --body-file pr.md

charts/generic-govuk-app/templates/ingress.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
app: {{ $fullName }}
1111
app.kubernetes.io/name: {{ $fullName }}
1212
app.kubernetes.io/component: app
13+
some-other-label: something
1314
annotations:
1415
{{- (tpl (toYaml .Values.ingress.annotations) .) | trim | nindent 4 }}
1516
spec:

0 commit comments

Comments
 (0)