File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ jobs:
148
148
run : |
149
149
templates_files=$(find /tmp/old /tmp/new -maxdepth 1 -name '*values.yaml' | sed -E 's|/tmp/(old\|new)/||' | sort | uniq)
150
150
151
+ header="# dyff of changes in rendered templates of CI manifests\n\n"
151
152
comment_body=""
152
153
while read -r templates_file; do
153
154
if [ ! -f "/tmp/old/$templates_file" ]; then
@@ -171,14 +172,10 @@ jobs:
171
172
done <<< "$templates_files"
172
173
173
174
if [ -z "$comment_body" ]; then
174
- echo "changes=no" >> "$GITHUB_OUTPUT"
175
175
comment_body="No changes in rendered templates"
176
- else
177
- echo "changes=yes" >> "$GITHUB_OUTPUT"
178
176
fi
179
177
180
- echo "$comment_body"
181
- { echo 'body<<EOF'; echo -e "$comment_body"; echo 'EOF'; } >> "$GITHUB_OUTPUT"
178
+ echo -e "$header$comment_body" | tee "/tmp/dyff-output"
182
179
183
180
- name : Find dyff comment
184
181
uses : peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3
@@ -193,8 +190,5 @@ jobs:
193
190
with :
194
191
comment-id : ${{ steps.find-dyff-comment.outputs.comment-id }}
195
192
issue-number : ${{ github.event.pull_request.number }}
196
- body : |
197
- # dyff of changes in rendered templates of CI manifests
198
-
199
- ${{ steps.dyff.outputs.body }}
193
+ body-path : /tmp/dyff-output
200
194
edit-mode : replace
File renamed without changes.
You can’t perform that action at this time.
0 commit comments